|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.tools.apt.mirror.declaration.AnnotationMirrorImpl
public class AnnotationMirrorImpl
Implementation of AnnotationMirror
| Field Summary | |
|---|---|
protected Attribute.Compound |
anno
|
protected Declaration |
decl
|
protected AptEnv |
env
|
| Constructor Summary | |
|---|---|
AnnotationMirrorImpl(AptEnv env,
Attribute.Compound anno,
Declaration decl)
|
|
| Method Summary | |
|---|---|
AnnotationType |
getAnnotationType()
Returns the annotation type of this annotation. |
Declaration |
getDeclaration()
|
private AnnotationTypeElementDeclaration |
getElement(Symbol.MethodSymbol m)
Returns the annotation type element for a symbol. |
java.util.Map<AnnotationTypeElementDeclaration,AnnotationValue> |
getElementValues()
Returns this annotation's elements and their values. |
SourcePosition |
getPosition()
Returns the source position of the beginning of this annotation. |
java.lang.String |
toString()
Returns a string representation of this annotation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final AptEnv env
protected final Attribute.Compound anno
protected final Declaration decl
| Constructor Detail |
|---|
AnnotationMirrorImpl(AptEnv env,
Attribute.Compound anno,
Declaration decl)
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic AnnotationType getAnnotationType()
getAnnotationType in interface AnnotationMirrorpublic java.util.Map<AnnotationTypeElementDeclaration,AnnotationValue> getElementValues()
getElementValues in interface AnnotationMirrorpublic SourcePosition getPosition()
AnnotationMirrorThis source position is intended for use in providing diagnostics, and indicates only approximately where an annotation begins.
getPosition in interface AnnotationMirrorpublic Declaration getDeclaration()
private AnnotationTypeElementDeclaration getElement(Symbol.MethodSymbol m)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||