Top Description Fields Constructors Methods
org.aspectj.weaver.internal.tools

public Class PointcutDesignatorHandlerBasedPointcut

extends Pointcut
Class Inheritance
Imports
java.io.IOException, java.util.Map, org.aspectj.util.FuzzyBoolean, org.aspectj.weaver.CompressingDataOutputStream, .IntMap, .ReferenceType, .ReferenceTypeDelegate, .ResolvedType, .Shadow, .World, org.aspectj.weaver.ast.Literal, .Test, org.aspectj.weaver.patterns.Bindings, .ExposedState, .FastMatchInfo, .IScope, .PatternNodeVisitor, .Pointcut, org.aspectj.weaver.reflect.ReflectionBasedReferenceTypeDelegate, .ReflectionFastMatchInfo, .ReflectionShadow, .ReflectionWorld, org.aspectj.weaver.tools.ContextBasedMatcher, .MatchingContext

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

Field Summary

Modifier and TypeField and Description
private final ContextBasedMatcher
private final World
Inherited from org.aspectj.weaver.patterns.Pointcut:
ANDANNOTATIONARGSATARGSATTHIS_OR_TARGETATWITHINATWITHINCODECFLOWCONCRETEEMPTY_STRING_ARRAYHANDLERhasBeenParameterizedIFIF_FALSEIF_TRUEKINDEDlastMatchedShadowIdm_ignoreUnboundBindingForNamesNONENOTORpointcutKindREFERENCERESOLVEDstateSYMBOLICTHIS_OR_TARGETUSER_EXTENSIONWITHINWITHINCODE

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object
protected Pointcut
concretize1(ResolvedType
the aspect to resolve relative to
inAspect
,
ResolvedType declaringType, IntMap
a Map from formal index in the current lexical context → formal index in the concrete advice that will run This must always return a new Pointcut object (even if the concretized Pointcut is identical to the resolved one). That behavior is assumed in many places. XXX fix implementors to handle state
bindings
)

Implements abstract org.aspectj.weaver.patterns.Pointcut.concretize1.

Resolves and removes ReferencePointcuts, replacing with basic ones
public int
couldMatchKinds()

Implements abstract org.aspectj.weaver.patterns.Pointcut.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
public FuzzyBoolean
fastMatch(FastMatchInfo info)

Implements abstract org.aspectj.weaver.patterns.Pointcut.fastMatch.

Could I match any shadows in the code defined within this type?
protected Test
public byte
protected FuzzyBoolean
public Pointcut
protected void
public void
Inherited from org.aspectj.weaver.patterns.Pointcut:
assertStatecheckconcretizeconcretizeconcretizefindResiduefromStringgetTypeVariablesInScopeisDeclaremakeMatchesNothingmatchpostReadreadresolvesetTypeVariablesInScopeshouldCopyLocationForConcretize

Field Detail

matcherback to summary
private final ContextBasedMatcher matcher
worldback to summary
private final World world

Constructor Detail

PointcutDesignatorHandlerBasedPointcutback to summary
public PointcutDesignatorHandlerBasedPointcut(ContextBasedMatcher expr, World world)

Method Detail

acceptback to summary
public Object accept(PatternNodeVisitor visitor, Object data)

Implements abstract org.aspectj.weaver.patterns.PatternNode.accept.

concretize1back to summary
protected Pointcut concretize1(ResolvedType inAspect, ResolvedType declaringType, IntMap bindings)

Implements abstract org.aspectj.weaver.patterns.Pointcut.concretize1.

Doc from org.aspectj.weaver.patterns.Pointcut.concretize1.

Resolves and removes ReferencePointcuts, replacing with basic ones

Parameters
inAspect:ResolvedType

the aspect to resolve relative to

bindings:IntMap

a Map from formal index in the current lexical context → formal index in the concrete advice that will run This must always return a new Pointcut object (even if the concretized Pointcut is identical to the resolved one). That behavior is assumed in many places. XXX fix implementors to handle state

couldMatchKindsback to summary
public int couldMatchKinds()

Implements abstract org.aspectj.weaver.patterns.Pointcut.couldMatchKinds.

Doc from org.aspectj.weaver.patterns.Pointcut.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

fastMatchback to summary
public FuzzyBoolean fastMatch(FastMatchInfo info)

Implements abstract org.aspectj.weaver.patterns.Pointcut.fastMatch.

Doc from org.aspectj.weaver.patterns.Pointcut.fastMatch.

Could I match any shadows in the code defined within this type?

findResidueInternalback to summary
protected Test findResidueInternal(Shadow shadow, ExposedState state)

Implements abstract org.aspectj.weaver.patterns.Pointcut.findResidueInternal.

getPointcutKindback to summary
public byte getPointcutKind()

Overrides org.aspectj.weaver.patterns.Pointcut.getPointcutKind.

matchInternalback to summary
protected FuzzyBoolean matchInternal(Shadow shadow)

Implements abstract org.aspectj.weaver.patterns.Pointcut.matchInternal.

parameterizeWithback to summary
public Pointcut parameterizeWith(Map<K, V> typeVariableMap, World w)

Implements abstract org.aspectj.weaver.patterns.Pointcut.parameterizeWith.

resolveBindingsback to summary
protected void resolveBindings(IScope scope, Bindings bindings)

Implements abstract org.aspectj.weaver.patterns.Pointcut.resolveBindings.

writeback to summary
public void write(CompressingDataOutputStream s) throws IOException

Implements abstract org.aspectj.weaver.patterns.PatternNode.write.