Package org.aspectj.weaver.patterns
Class ReferencePointcut
- java.lang.Object
-
- org.aspectj.weaver.patterns.PatternNode
-
- org.aspectj.weaver.patterns.Pointcut
-
- org.aspectj.weaver.patterns.ReferencePointcut
-
- All Implemented Interfaces:
IHasPosition,IHasSourceLocation
public class ReferencePointcut extends Pointcut
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.aspectj.weaver.patterns.Pointcut
Pointcut.State
-
-
Field Summary
Fields Modifier and Type Field Description TypePatternListargumentsStringnameUnresolvedTypeonTypeTypePatternonTypeSymbolic-
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 ReferencePointcut(TypePattern onTypeSymbolic, String name, TypePatternList arguments)ReferencePointcut(UnresolvedType onType, String name, TypePatternList arguments)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectaccept(PatternNodeVisitor visitor, Object data)Pointcutconcretize1(ResolvedType searchStart, ResolvedType declaringType, IntMap bindings)intcouldMatchKinds()booleanequals(Object other)FuzzyBooleanfastMatch(FastMatchInfo type)protected TestfindResidueInternal(Shadow shadow, ExposedState state)inthashCode()protected FuzzyBooleanmatchInternal(Shadow shadow)PointcutparameterizeWith(Map<String,UnresolvedType> typeVariableMap, World w)voidpostRead(ResolvedType enclosingType)static Pointcutread(VersionedDataInputStream s, ISourceContext context)voidresolveBindings(IScope scope, Bindings bindings)protected booleanshouldCopyLocationForConcretize()StringtoString()voidwrite(CompressingDataOutputStream s)-
Methods inherited from class org.aspectj.weaver.patterns.Pointcut
assertState, check, concretize, concretize, concretize, findResidue, fromString, getPointcutKind, getTypeVariablesInScope, isDeclare, makeMatchesNothing, match, resolve, setTypeVariablesInScope
-
Methods inherited from class org.aspectj.weaver.patterns.PatternNode
copyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, traverse, writeLocation
-
-
-
-
Field Detail
-
onType
public UnresolvedType onType
-
onTypeSymbolic
public TypePattern onTypeSymbolic
-
name
public String name
-
arguments
public TypePatternList arguments
-
-
Constructor Detail
-
ReferencePointcut
public ReferencePointcut(TypePattern onTypeSymbolic, String name, TypePatternList arguments)
-
ReferencePointcut
public ReferencePointcut(UnresolvedType onType, String name, TypePatternList arguments)
-
-
Method Detail
-
couldMatchKinds
public int couldMatchKinds()
- Specified by:
couldMatchKindsin classPointcut
-
fastMatch
public FuzzyBoolean fastMatch(FastMatchInfo type)
-
matchInternal
protected FuzzyBoolean matchInternal(Shadow shadow)
- Specified by:
matchInternalin classPointcut
-
write
public void write(CompressingDataOutputStream s) throws IOException
- Specified by:
writein classPatternNode- Throws:
IOException
-
read
public static Pointcut read(VersionedDataInputStream s, ISourceContext context) throws IOException
- Throws:
IOException
-
resolveBindings
public void resolveBindings(IScope scope, Bindings bindings)
- Specified by:
resolveBindingsin classPointcut
-
postRead
public void postRead(ResolvedType enclosingType)
-
findResidueInternal
protected Test findResidueInternal(Shadow shadow, ExposedState state)
- Specified by:
findResidueInternalin classPointcut
-
concretize1
public Pointcut concretize1(ResolvedType searchStart, ResolvedType declaringType, IntMap bindings)
- Specified by:
concretize1in classPointcut
-
parameterizeWith
public Pointcut parameterizeWith(Map<String,UnresolvedType> typeVariableMap, World w)
- Specified by:
parameterizeWithin classPointcut
-
shouldCopyLocationForConcretize
protected boolean shouldCopyLocationForConcretize()
- Overrides:
shouldCopyLocationForConcretizein classPointcut
-
accept
public Object accept(PatternNodeVisitor visitor, Object data)
- Specified by:
acceptin classPatternNode
-
-