org.aspectj.weaver.patterns
Class AnnotationPatternList

java.lang.Object
  extended by org.aspectj.weaver.patterns.PatternNode
      extended by org.aspectj.weaver.patterns.AnnotationPatternList
All Implemented Interfaces:
IHasPosition, IHasSourceLocation

public class AnnotationPatternList
extends PatternNode


Field Summary
static AnnotationPatternList ANY
           
static AnnotationPatternList EMPTY
           
 
Fields inherited from class org.aspectj.weaver.patterns.PatternNode
end, sourceContext, start
 
Constructor Summary
AnnotationPatternList()
           
AnnotationPatternList(AnnotationTypePattern[] arguments)
           
AnnotationPatternList(java.util.List l)
           
 
Method Summary
 java.lang.Object accept(PatternNodeVisitor visitor, java.lang.Object data)
           
 boolean equals(java.lang.Object other)
           
 AnnotationTypePattern get(int index)
           
protected  AnnotationTypePattern[] getAnnotationPatterns()
           
 int hashCode()
           
 FuzzyBoolean matches(ResolvedType[] someArgs)
           
 AnnotationPatternList parameterizeWith(java.util.Map typeVariableMap, World w)
           
static AnnotationPatternList read(VersionedDataInputStream s, ISourceContext context)
           
 void resolve(World inWorld)
           
 AnnotationPatternList resolveBindings(IScope scope, Bindings bindings, boolean allowBinding)
           
 AnnotationPatternList resolveReferences(IntMap bindings)
           
 int size()
           
 java.lang.String toString()
           
 java.lang.Object traverse(PatternNodeVisitor visitor, java.lang.Object data)
           
 void write(CompressingDataOutputStream s)
           
 
Methods inherited from class org.aspectj.weaver.patterns.PatternNode
copyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, writeLocation
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

EMPTY

public static final AnnotationPatternList EMPTY

ANY

public static final AnnotationPatternList ANY
Constructor Detail

AnnotationPatternList

public AnnotationPatternList()

AnnotationPatternList

public AnnotationPatternList(AnnotationTypePattern[] arguments)

AnnotationPatternList

public AnnotationPatternList(java.util.List l)
Method Detail

getAnnotationPatterns

protected AnnotationTypePattern[] getAnnotationPatterns()

parameterizeWith

public AnnotationPatternList parameterizeWith(java.util.Map typeVariableMap,
                                              World w)

resolve

public void resolve(World inWorld)

matches

public FuzzyBoolean matches(ResolvedType[] someArgs)

size

public int size()

get

public AnnotationTypePattern get(int index)

resolveBindings

public AnnotationPatternList resolveBindings(IScope scope,
                                             Bindings bindings,
                                             boolean allowBinding)

resolveReferences

public AnnotationPatternList resolveReferences(IntMap bindings)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

read

public static AnnotationPatternList read(VersionedDataInputStream s,
                                         ISourceContext context)
                                  throws java.io.IOException
Throws:
java.io.IOException

write

public void write(CompressingDataOutputStream s)
           throws java.io.IOException
Specified by:
write in class PatternNode
Throws:
java.io.IOException

accept

public java.lang.Object accept(PatternNodeVisitor visitor,
                               java.lang.Object data)
Specified by:
accept in class PatternNode

traverse

public java.lang.Object traverse(PatternNodeVisitor visitor,
                                 java.lang.Object data)
Overrides:
traverse in class PatternNode