StaticAnnotation
scala.annotation.StaticAnnotation
trait StaticAnnotation extends Annotation
A base class for static annotations. These are available to the Scala type checker or Scala reflection, even across different compilation units.
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
- StaticAnnotation.scala
- Graph
-
- Supertypes
- Known subtypes
-
class beanGetterclass beanSetterclass companionClassclass companionMethodclass companionObjectclass fieldclass getterclass languageFeatureclass paramclass setterclass uncheckedCapturesclass uncheckedStableclass uncheckedVariancetrait ConstantAnnotationtrait ClassfileAnnotationclass elidableclass implicitAmbiguousclass implicitNotFoundclass nowarnclass SerialVersionUIDclass deprecatedclass deprecatedInheritanceclass deprecatedOverridingtrait MacroAnnotationtrait RefiningAnnotationclass alphaclass capabilityclass compileTimeOnlyclass constructorOnlyclass experimentalclass widenclass intoclass publicInBinaryclass retainsclass retainsArgclass retainsByNameclass retainsCapclass showAsInfixclass staticclass strictfpclass switchclass tailrecclass targetNameclass threadUnsafeclass transparentTraitclass unspecializedclass unusedclass varargsclass BeanPropertyclass BooleanBeanPropertyclass untrackedCapturesclass useclass deprecatedNameclass inlineclass nativeclass noinlineclass specializedclass throws[T]class transientclass volatile
In this article