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 defaultArgclass fieldclass getterclass languageFeatureclass paramclass setterclass superArgclass superFwdArgclass uncheckedCapturesclass uncheckedOverrideclass uncheckedStableclass uncheckedVariancetrait ConstantAnnotationtrait ClassfileAnnotationclass elidableclass implicitAmbiguousclass implicitNotFoundclass nowarnclass SerialVersionUIDclass deprecatedclass deprecatedInheritanceclass deprecatedOverridingtrait MacroAnnotationtrait ParameterAnnotationclass aliasclass newMaintrait RefiningAnnotationclass allowConversionsclass alphaclass capabilityclass compileTimeOnlyclass constructorOnlyclass experimentalclass retainsclass retainsByNameclass showAsInfixclass staticclass strictfpclass switchclass tailrecclass targetNameclass threadUnsafeclass transparentTraitclass unspecializedclass unusedclass varargsclass BeanPropertyclass BooleanBeanPropertyclass deprecatedNameclass inlineclass nativeclass noinlineclass specializedclass throws[T]class transientclass volatile
In this article