class Annotation

[source: scala/Annotation.scala]

abstract class Annotation
extends AnyRef

A base class for annotations. Annotations extending this class directly are not preserved for the Scala type checker and are also not stored as Java annotations in classfiles. To enable either or both of these, one needs to inherit from StaticAnnotation or/and ClassfileAnnotation.

Martin Odersky
1.1, 2/02/2007
Direct Known Subclasses:
ClassfileAnnotation, SerialVersionUID, StaticAnnotation, TypeConstraint, cloneable, deprecated, inline, native, noinline, remote, serializable, throws, transient, unchecked, unsealed, volatile, uncheckedStable, uncheckedVariance, BeanDescription, BeanDisplayName, BeanInfo, BeanInfoSkip, BeanProperty

Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf