org.eclipse.jdt.internal.compiler.apt.model
Class AnnotationMirrorImpl

java.lang.Object
  extended by org.eclipse.jdt.internal.compiler.apt.model.AnnotationMirrorImpl
All Implemented Interfaces:
InvocationHandler, AnnotationMirror

public class AnnotationMirrorImpl
extends Object
implements AnnotationMirror, InvocationHandler


Field Summary
 AnnotationBinding _binding
           
 BaseProcessingEnvImpl _env
           
 
Method Summary
 boolean equals(Object obj)
           
 DeclaredType getAnnotationType()
           
 Map<? extends ExecutableElement,? extends AnnotationValue> getElementValues()
           
 Map<? extends ExecutableElement,? extends AnnotationValue> getElementValuesWithDefaults()
          Elements#getElementValuesWithDefaults()
 int hashCode()
           
 Object invoke(Object proxy, Method method, Object[] args)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

_env

public final BaseProcessingEnvImpl _env

_binding

public final AnnotationBinding _binding
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getAnnotationType

public DeclaredType getAnnotationType()
Specified by:
getAnnotationType in interface AnnotationMirror

getElementValues

public Map<? extends ExecutableElement,? extends AnnotationValue> getElementValues()
Specified by:
getElementValues in interface AnnotationMirror
Returns:
all the members of this annotation mirror that have explicit values. Default values are not included.

getElementValuesWithDefaults

public Map<? extends ExecutableElement,? extends AnnotationValue> getElementValuesWithDefaults()
Elements#getElementValuesWithDefaults()

Returns:
all the members of this annotation mirror that have explicit or default values.

hashCode

public int hashCode()
Overrides:
hashCode in class Object

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
Specified by:
invoke in interface InvocationHandler
Throws:
Throwable

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.