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 uncheckedStableclass uncheckedVariancetrait ConstantAnnotationtrait ClassfileAnnotationclass elidableclass implicitAmbiguousclass implicitNotFoundclass nowarnclass SerialVersionUIDclass deprecatedclass deprecatedInheritanceclass deprecatedOverridingclass newMaintrait ParameterAnnotationclass aliastrait RefiningAnnotationclass 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