org.aspectj.weaver.internal.tools
Class PointcutDesignatorHandlerBasedPointcut

java.lang.Object
  extended by org.aspectj.weaver.patterns.PatternNode
      extended by org.aspectj.weaver.patterns.Pointcut
          extended by org.aspectj.weaver.internal.tools.PointcutDesignatorHandlerBasedPointcut
All Implemented Interfaces:
IHasPosition, IHasSourceLocation

public class PointcutDesignatorHandlerBasedPointcut
extends Pointcut

Implementation of Pointcut that is backed by a user-extension pointcut designator handler.


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
PointcutDesignatorHandlerBasedPointcut(ContextBasedMatcher expr, World world)
           
 
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
 FuzzyBoolean fastMatch(FastMatchInfo info)
          Could I match any shadows in the code defined within this type?
 byte getPointcutKind()
           
 Pointcut parameterizeWith(java.util.Map typeVariableMap, World w)
           
 void write(CompressingDataOutputStream s)
           
 
Methods inherited from class org.aspectj.weaver.patterns.Pointcut
assertState, check, concretize, concretize, concretize, findResidue, fromString, getTypeVariablesInScope, isDeclare, makeMatchesNothing, match, postRead, read, 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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PointcutDesignatorHandlerBasedPointcut

public PointcutDesignatorHandlerBasedPointcut(ContextBasedMatcher expr,
                                              World world)
Method Detail

getPointcutKind

public byte getPointcutKind()
Overrides:
getPointcutKind 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

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

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