Movatterモバイル変換


[0]ホーム

URL:


Scala 3
3.7.4
LearnInstallPlaygroundFind A LibraryCommunityBlog
Scala 3
LearnInstallPlaygroundFind A LibraryCommunityBlog
DocsAPI
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL
Scala 3/scala/scala.annotation/Annotation

Annotation

scala.annotation.Annotation
abstractclassAnnotation

A base class for annotations.

Annotations extending this class directly are not preserved in the classfile. To enable storing annotations in the classfile's Scala signature and make it available to Scala reflection and other tools, the annotation needs to inherit fromscala.annotation.StaticAnnotation.

Annotation classes defined in Scala are not stored in classfiles in a Java-compatible manner and therefore not visible in Java reflection. In order to achieve this, the annotation has to be written in Java.

Attributes

Source
Annotation.scala
Graph
Supertypes
classObject
traitMatchable
classAny
Known subtypes
classfield
classgetter
classparam
classsetter
classelidable
classnowarn
classalpha
classwiden
classretains[Elems]
classretainsByName[Elems]
classstatic
classstrictfp
classswitch
classtailrec
classunroll
classunused
classvarargs
classconsume
classuse
classinline
classnative
classnoinline
classthrows[T]
classtransient
classvolatile
classfromAbove
classmain
classunchecked
Show all
In this article
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL

[8]ページ先頭

©2009-2025 Movatter.jp