|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.backport175.compiler.javadoc.RawAnnotation
public class RawAnnotation
Raw info about an reader. Holds the name (the FQN of the reader interface) of the annotations and its unparsed "content".
Note: Two RawAnnotation instances are considered equals when the annotationClass is the same, no matter the value.
Constructor Summary | |
---|---|
RawAnnotation(java.lang.Class annotationClass,
java.lang.String value,
int line,
java.lang.String enclosingClassName,
java.lang.String enclosingClassFile)
Creates a new raw annotation. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
java.lang.Class |
getAnnotationClass()
Returns the annotation class |
java.lang.String |
getEnclosingClassFile()
|
java.lang.String |
getEnclosingClassName()
|
int |
getLineNumber()
|
java.lang.String |
getName()
Returns the annotation name (which is the FQN of the annotation interface). |
java.lang.String |
getValue()
Returns the annotation "content". |
int |
hashCode()
|
boolean |
isAnnotationDefaultValue()
Returns true if the annotation represents an annotation default value |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RawAnnotation(java.lang.Class annotationClass, java.lang.String value, int line, java.lang.String enclosingClassName, java.lang.String enclosingClassFile)
annotationClass
- the annotation interfacevalue
- the unparsed annotation "content"line
- numberenclosingClassName
- enclosingClassFile
- Method Detail |
---|
public java.lang.String getName()
public java.lang.String getValue()
public java.lang.Class getAnnotationClass()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getEnclosingClassName()
public java.lang.String getEnclosingClassFile()
public int getLineNumber()
public boolean isAnnotationDefaultValue()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |