scala

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.

Author
Martin Odersky
Version
1.1, 2/02/2007
Direct Known Subclasses:
ClassfileAnnotation, SerialVersionUID, StaticAnnotation, cloneable, deprecated, inline, noinline, remote, serializable, throws, transient, unchecked, unsealed, volatile, 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