org.aspectj.weaver.patterns
Class WithinCodeAnnotationPointcut

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

public class WithinCodeAnnotationPointcut
extends NameBindingPointcut

Author:
colyer TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Nested Class Summary
 
Nested classes/interfaces inherited from class org.aspectj.weaver.patterns.Pointcut
Pointcut.State
 
Field Summary
 
Fields inherited from class org.aspectj.weaver.patterns.Pointcut
AND, ANNOTATION, ARGS, ATARGS, ATTHIS_OR_TARGET, ATWITHIN, ATWITHINCODE, CFLOW, CONCRETE, EMPTY_STRING_ARRAY, HANDLER, IF, IF_FALSE, IF_TRUE, KINDED, m_ignoreUnboundBindingForNames, NONE, NOT, OR, REFERENCE, RESOLVED, state, SYMBOLIC, THIS_OR_TARGET, USER_EXTENSION, WITHIN, WITHINCODE
 
Constructor Summary
WithinCodeAnnotationPointcut(ExactAnnotationTypePattern type)
           
WithinCodeAnnotationPointcut(ExactAnnotationTypePattern type, ShadowMunger munger)
           
 
Method Summary
 java.lang.Object accept(PatternNodeVisitor visitor, java.lang.Object data)
           
 int couldMatchKinds()
          The set of ShadowKinds that this Pointcut could possibly match - an int whose bits are set according to the Kinds specified in Shadow.java
 boolean equals(java.lang.Object other)
           
 FuzzyBoolean fastMatch(FastMatchInfo info)
          Could I match any shadows in the code defined within this type?
 ExactAnnotationTypePattern getAnnotationTypePattern()
           
 java.util.List getBindingAnnotationTypePatterns()
           
 java.util.List getBindingTypePatterns()
           
 int hashCode()
           
 Pointcut parameterizeWith(java.util.Map typeVariableMap, World w)
           
static Pointcut read(VersionedDataInputStream s, ISourceContext context)
           
 java.lang.String toString()
           
 void write(CompressingDataOutputStream s)
           
 
Methods inherited from class org.aspectj.weaver.patterns.Pointcut
assertState, check, concretize, concretize, concretize, findResidue, fromString, getPointcutKind, getTypeVariablesInScope, isDeclare, makeMatchesNothing, match, postRead, resolve, setTypeVariablesInScope
 
Methods inherited from class org.aspectj.weaver.patterns.PatternNode
copyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, traverse, writeLocation
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WithinCodeAnnotationPointcut

public WithinCodeAnnotationPointcut(ExactAnnotationTypePattern type)

WithinCodeAnnotationPointcut

public WithinCodeAnnotationPointcut(ExactAnnotationTypePattern type,
                                    ShadowMunger munger)
Method Detail

getAnnotationTypePattern

public ExactAnnotationTypePattern getAnnotationTypePattern()

couldMatchKinds

public int couldMatchKinds()
Description copied from class: Pointcut
The set of ShadowKinds that this Pointcut could possibly match - an int whose bits are set according to the Kinds specified in Shadow.java

Specified by:
couldMatchKinds in class Pointcut

parameterizeWith

public Pointcut parameterizeWith(java.util.Map typeVariableMap,
                                 World w)
Specified by:
parameterizeWith in class Pointcut

fastMatch

public FuzzyBoolean fastMatch(FastMatchInfo info)
Description copied from class: Pointcut
Could I match any shadows in the code defined within this type?

Specified by:
fastMatch in class Pointcut

getBindingAnnotationTypePatterns

public java.util.List getBindingAnnotationTypePatterns()
Specified by:
getBindingAnnotationTypePatterns in class NameBindingPointcut

getBindingTypePatterns

public java.util.List getBindingTypePatterns()
Specified by:
getBindingTypePatterns in class NameBindingPointcut

write

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

read

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

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

toString

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

accept

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