org.eclipse.jdt.internal.compiler.lookup
Class AnnotationBinding
java.lang.Object
org.eclipse.jdt.internal.compiler.lookup.AnnotationBinding
- Direct Known Subclasses:
- UnresolvedAnnotationBinding
public class AnnotationBinding
- extends java.lang.Object
Represents JSR 175 Annotation instances in the type-system.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
addStandardAnnotations
public static AnnotationBinding[] addStandardAnnotations(AnnotationBinding[] recordedAnnotations,
long annotationTagBits,
LookupEnvironment env)
- Add the standard annotations encoded in the tag bits to the recorded annotations.
- Parameters:
recordedAnnotations
- existing annotations already createdannotationTagBits
- env
-
- Returns:
- the combined list of annotations
computeUniqueKey
public char[] computeUniqueKey(char[] recipientKey)
getAnnotationType
public ReferenceBinding getAnnotationType()
getElementValuePairs
public ElementValuePair[] getElementValuePairs()
setMethodBindings
public static void setMethodBindings(ReferenceBinding type,
ElementValuePair[] pairs)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object