Quartz 5

Home

❯

raw

❯

notes

❯

Kotlinでアノテーション内でアノテーション使う

Kotlinでアノテーション内でアノテーション使う

Properties1
tagskotlin

Jun 28, 20261 min read

Kotlinでアノテーション内でアノテーション使う

ことは出来ないので @ を付けない

@Table(name = "hoges", indexes = @Index(columnList = "id"))
@Table(name = "hoges", indexes = [Index(columnList = "id")])

参考文献

  • android - An annotation can’t be used as the annotations argument - Stack Overflow

Graph View

  • Kotlinでアノテーション内でアノテーション使う
  • 参考文献

Backlinks

  • MOC: 言語/型/コンパイラ

Created with Quartz v5.0.0 © 2026

  • GitHub
  • Discord Community