Package org.aspectj.weaver.patterns
Class PerClause
java.lang.Object
org.aspectj.weaver.patterns.PatternNode
org.aspectj.weaver.patterns.Pointcut
org.aspectj.weaver.patterns.PerClause
- All Implemented Interfaces:
IHasPosition,IHasSourceLocation
- Direct Known Subclasses:
PerCflow,PerFromSuper,PerObject,PerSingleton,PerTypeWithin
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class org.aspectj.weaver.patterns.Pointcut
Pointcut.State -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PerClause.Kindprotected ResolvedTypestatic final PerClause.Kindstatic final PerClause.Kindstatic final PerClause.Kindstatic final PerClause.KindFields inherited from class org.aspectj.weaver.patterns.Pointcut
AND, ANNOTATION, ARGS, ATARGS, ATTHIS_OR_TARGET, ATWITHIN, ATWITHINCODE, CFLOW, CONCRETE, EMPTY_STRING_ARRAY, HANDLER, hasBeenParameterized, IF, IF_FALSE, IF_TRUE, KINDED, lastMatchedShadowId, m_ignoreUnboundBindingForNames, NONE, NOT, OR, pointcutKind, REFERENCE, RESOLVED, state, SYMBOLIC, THIS_OR_TARGET, USER_EXTENSION, WITHIN, WITHINCODEFields inherited from class org.aspectj.weaver.patterns.PatternNode
end, sourceContext, start -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract PerClauseconcretize(ResolvedType inAspect) final Pointcutconcretize1(ResolvedType inAspect, ResolvedType declaringType, IntMap bindings) Resolves and removes ReferencePointcuts, replacing with basic onesabstract PerClause.KindgetKind()static PerClausereadPerClause(VersionedDataInputStream s, ISourceContext context) abstract StringMethods inherited from class org.aspectj.weaver.patterns.Pointcut
assertState, check, concretize, concretize, concretize, couldMatchKinds, fastMatch, findResidue, findResidueInternal, fromString, getPointcutKind, getTypeVariablesInScope, isDeclare, makeMatchesNothing, match, matchInternal, parameterizeWith, postRead, read, resolve, resolveBindings, setTypeVariablesInScope, shouldCopyLocationForConcretizeMethods inherited from class org.aspectj.weaver.patterns.PatternNode
accept, copyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, traverse, write, writeLocation
-
Field Details
-
inAspect
-
SINGLETON
-
PERCFLOW
-
PEROBJECT
-
FROMSUPER
-
PERTYPEWITHIN
-
-
Constructor Details
-
PerClause
public PerClause()
-
-
Method Details
-
readPerClause
public static PerClause readPerClause(VersionedDataInputStream s, ISourceContext context) throws IOException - Throws:
IOException
-
concretize1
public final Pointcut concretize1(ResolvedType inAspect, ResolvedType declaringType, IntMap bindings) Description copied from class:PointcutResolves and removes ReferencePointcuts, replacing with basic ones- Specified by:
concretize1in classPointcut- Parameters:
inAspect- the aspect to resolve relative tobindings- 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
-
concretize
-
getKind
-
toDeclarationString
-