org.eclipse.jdt.internal.compiler.lookup
Class AnnotationBinding

java.lang.Object
  extended by 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.


Method Summary
static AnnotationBinding[] addStandardAnnotations(AnnotationBinding[] recordedAnnotations, long annotationTagBits, LookupEnvironment env)
          Add the standard annotations encoded in the tag bits to the recorded annotations.
 char[] computeUniqueKey(char[] recipientKey)
           
 ReferenceBinding getAnnotationType()
           
 ElementValuePair[] getElementValuePairs()
           
static void setMethodBindings(ReferenceBinding type, ElementValuePair[] pairs)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

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 created
annotationTagBits -
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