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
public abstract class PerClause extends Pointcut
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPerClause.Kindstatic classPerClause.KindAnnotationPrefix-
Nested classes/interfaces inherited from class org.aspectj.weaver.patterns.Pointcut
Pointcut.State
-
-
Field Summary
Fields Modifier and Type Field Description static PerClause.KindFROMSUPERprotected ResolvedTypeinAspectstatic PerClause.KindPERCFLOWstatic PerClause.KindPEROBJECTstatic PerClause.KindPERTYPEWITHINstatic PerClause.KindSINGLETON-
Fields 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, WITHINCODE
-
Fields inherited from class org.aspectj.weaver.patterns.PatternNode
end, sourceContext, start
-
-
Constructor Summary
Constructors Constructor Description PerClause()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract PerClauseconcretize(ResolvedType inAspect)Pointcutconcretize1(ResolvedType inAspect, ResolvedType declaringType, IntMap bindings)abstract PerClause.KindgetKind()static PerClausereadPerClause(VersionedDataInputStream s, ISourceContext context)abstract StringtoDeclarationString()-
Methods 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, shouldCopyLocationForConcretize
-
Methods inherited from class org.aspectj.weaver.patterns.PatternNode
accept, copyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, traverse, write, writeLocation
-
-
-
-
Field Detail
-
inAspect
protected ResolvedType inAspect
-
SINGLETON
public static final PerClause.Kind SINGLETON
-
PERCFLOW
public static final PerClause.Kind PERCFLOW
-
PEROBJECT
public static final PerClause.Kind PEROBJECT
-
FROMSUPER
public static final PerClause.Kind FROMSUPER
-
PERTYPEWITHIN
public static final PerClause.Kind PERTYPEWITHIN
-
-
Method Detail
-
readPerClause
public static PerClause readPerClause(VersionedDataInputStream s, ISourceContext context) throws IOException
- Throws:
IOException
-
concretize1
public final Pointcut concretize1(ResolvedType inAspect, ResolvedType declaringType, IntMap bindings)
- Specified by:
concretize1in classPointcut
-
concretize
public abstract PerClause concretize(ResolvedType inAspect)
-
getKind
public abstract PerClause.Kind getKind()
-
toDeclarationString
public abstract String toDeclarationString()
-
-