Uses of Class
org.aspectj.weaver.patterns.Pointcut
Packages that use Pointcut
Package
Description
-
Uses of Pointcut in org.aspectj.weaver
Fields in org.aspectj.weaver declared as PointcutMethods in org.aspectj.weaver that return PointcutModifier and TypeMethodDescriptionAdvice.getPointcut()AjAttribute.AdviceAttribute.getPointcut()ResolvedPointcutDefinition.getPointcut()ShadowMunger.getPointcut()PerObjectInterfaceTypeMunger.getTestPointcut()PerTypeWithinTargetTypeMunger.getTestPointcut()Methods in org.aspectj.weaver with parameters of type PointcutModifier and TypeMethodDescriptionIWeavingSupport.createAdviceMunger(AjAttribute.AdviceAttribute attribute, Pointcut pointcut, Member signature, ResolvedType concreteAspect) final AdviceWorld.createAdviceMunger(AdviceKind kind, Pointcut p, Member signature, int extraParameterFlags, IHasSourceLocation loc, ResolvedType declaringAspect) Create an advice shadow munger for the given advice kindstatic AdviceAdvice.makeCflowEntry(World world, Pointcut entry, boolean isBelow, Member stackField, int nFreeVars, List<ShadowMunger> innerCflowEntries, ResolvedType inAspect) static AdviceAdvice.makePerCflowEntry(World world, Pointcut entry, boolean isBelow, Member stackField, ResolvedType inAspect, List<ShadowMunger> innerCflowEntries) static AdviceAdvice.makePerObjectEntry(World world, Pointcut entry, boolean isThis, ResolvedType inAspect) static AdviceAdvice.makePerTypeWithinEntry(World world, Pointcut p, ResolvedType inAspect) static AdviceAdvice.makeSoftener(World world, Pointcut entry, TypePattern exceptionType, ResolvedType inAspect, IHasSourceLocation loc) voidRecord the time spent matching a pointcut - this will accumulate over the lifetime of this world/weaver and be reported every 25000 join points.voidWorld.recordFastMatch(Pointcut pointcut, long timetaken) Record the time spent fastmatching a pointcut - this will accumulate over the lifetime of this world/weaver and be reported every 250 types.voidResolvedPointcutDefinition.setPointcut(Pointcut pointcut) voidShadowMunger.setPointcut(Pointcut pointcut) Constructors in org.aspectj.weaver with parameters of type PointcutModifierConstructorDescriptionAdvice(AjAttribute.AdviceAttribute attribute, Pointcut pointcut, Member signature) AdviceAttribute(AdviceKind kind, Pointcut pointcut, int extraArgumentFlags, int start, int end, ISourceContext sourceContext) AdviceAttribute(AdviceKind kind, Pointcut pointcut, int extraArgumentFlags, int start, int end, ISourceContext sourceContext, boolean proceedInInners, ResolvedMember[] proceedCallSignatures, boolean[] formalsUnchangedToProceed, UnresolvedType[] declaredExceptions) PerObjectInterfaceTypeMunger(UnresolvedType aspectType, Pointcut testPointcut) PoliceExtensionUse(World w, Pointcut p) ResolvedPointcutDefinition(UnresolvedType declaringType, int modifiers, String name, UnresolvedType[] parameterTypes, Pointcut pointcut) ResolvedPointcutDefinition(UnresolvedType declaringType, int modifiers, String name, UnresolvedType[] parameterTypes, UnresolvedType returnType, Pointcut pointcut) An instance which can be given a specific returnType, used f.e. in if() pointcut for @AJShadowMunger(Pointcut pointcut, int start, int end, ISourceContext sourceContext, int shadowMungerKind) -
Uses of Pointcut in org.aspectj.weaver.bcel
Methods in org.aspectj.weaver.bcel that return PointcutMethods in org.aspectj.weaver.bcel with parameters of type PointcutModifier and TypeMethodDescriptionBcelWeavingSupport.createAdviceMunger(AjAttribute.AdviceAttribute attribute, Pointcut pointcut, Member signature, ResolvedType concreteAspect) Constructors in org.aspectj.weaver.bcel with parameters of type PointcutModifierConstructorDescriptionLazyResolvedPointcutDefinition(UnresolvedType declaringType, int modifiers, String name, UnresolvedType[] parameterTypes, UnresolvedType returnType, Pointcut pointcut, IScope binding) -
Uses of Pointcut in org.aspectj.weaver.internal.tools
Subclasses of Pointcut in org.aspectj.weaver.internal.toolsModifier and TypeClassDescriptionclassImplementation of Pointcut that is backed by a user-extension pointcut designator handler.Methods in org.aspectj.weaver.internal.tools that return PointcutModifier and TypeMethodDescriptionprotected PointcutPointcutDesignatorHandlerBasedPointcut.concretize1(ResolvedType inAspect, ResolvedType declaringType, IntMap bindings) PointcutExpressionImpl.getUnderlyingPointcut()StandardPointcutExpressionImpl.getUnderlyingPointcut()PointcutDesignatorHandlerBasedPointcut.parameterizeWith(Map typeVariableMap, World w) Constructors in org.aspectj.weaver.internal.tools with parameters of type PointcutModifierConstructorDescriptionPointcutExpressionImpl(Pointcut pointcut, String expression, PointcutParameter[] params, World inWorld) StandardPointcutExpressionImpl(Pointcut pointcut, String expression, PointcutParameter[] params, World inWorld) -
Uses of Pointcut in org.aspectj.weaver.model
Methods in org.aspectj.weaver.model with parameters of type PointcutModifier and TypeMethodDescriptionstatic StringAsmRelationshipUtils.genPointcutDetails(Pointcut pcd) Generates the pointcut details for the given pointcut, for example an anonymous pointcut will return '<anonymous pointcut>' and a named pointcut called p() will return 'p()..' -
Uses of Pointcut in org.aspectj.weaver.patterns
Subclasses of Pointcut in org.aspectj.weaver.patternsModifier and TypeClassDescriptionclassclass(at)Annotation((at)Foo) or (at)Annotation(foo)classclassargs(arguments)classclassclassThis is a kind of KindedPointcut.classstatic classstatic classclassclassCommon super type for Pointcuts that can bind formal parameters.classclassclassclassclassclassclassclassclassclassclassCorresponds to target or this pcd.classclassclassclassFields in org.aspectj.weaver.patterns declared as PointcutMethods in org.aspectj.weaver.patterns that return PointcutModifier and TypeMethodDescriptionfinal PointcutPointcut.concretize(ResolvedType inAspect, ResolvedType declaringType, int arity) Returns a new pointcut Only used by test casesfinal PointcutPointcut.concretize(ResolvedType inAspect, ResolvedType declaringType, int arity, ShadowMunger advice) final PointcutPointcut.concretize(ResolvedType inAspect, ResolvedType declaringType, IntMap bindings) AndPointcut.concretize1(ResolvedType inAspect, ResolvedType declaringType, IntMap bindings) protected PointcutAnnotationPointcut.concretize1(ResolvedType inAspect, ResolvedType declaringType, IntMap bindings) protected PointcutArgsAnnotationPointcut.concretize1(ResolvedType inAspect, ResolvedType declaringType, IntMap bindings) ArgsPointcut.concretize1(ResolvedType inAspect, ResolvedType declaringType, IntMap bindings) CflowPointcut.concretize1(ResolvedType inAspect, ResolvedType declaringType, IntMap bindings) ConcreteCflowPointcut.concretize1(ResolvedType inAspect, ResolvedType declaringType, IntMap bindings) HandlerPointcut.concretize1(ResolvedType inAspect, ResolvedType declaringType, IntMap bindings) IfPointcut.concretize1(ResolvedType inAspect, ResolvedType declaringType, IntMap bindings) IfPointcut.IfFalsePointcut.concretize1(ResolvedType inAspect, ResolvedType declaringType, IntMap bindings) IfPointcut.IfTruePointcut.concretize1(ResolvedType inAspect, ResolvedType declaringType, IntMap bindings) KindedPointcut.concretize1(ResolvedType inAspect, ResolvedType declaringType, IntMap bindings) NotPointcut.concretize1(ResolvedType inAspect, ResolvedType declaringType, IntMap bindings) OrPointcut.concretize1(ResolvedType inAspect, ResolvedType declaringType, IntMap bindings) final PointcutPerClause.concretize1(ResolvedType inAspect, ResolvedType declaringType, IntMap bindings) protected abstract PointcutPointcut.concretize1(ResolvedType inAspect, ResolvedType declaringType, IntMap bindings) Resolves and removes ReferencePointcuts, replacing with basic onesReferencePointcut.concretize1(ResolvedType searchStart, ResolvedType declaringType, IntMap bindings) protected PointcutThisOrTargetAnnotationPointcut.concretize1(ResolvedType inAspect, ResolvedType declaringType, IntMap bindings) ThisOrTargetPointcut.concretize1(ResolvedType inAspect, ResolvedType declaringType, IntMap bindings) protected PointcutWithinAnnotationPointcut.concretize1(ResolvedType inAspect, ResolvedType declaringType, IntMap bindings) protected PointcutWithinCodeAnnotationPointcut.concretize1(ResolvedType inAspect, ResolvedType declaringType, IntMap bindings) WithincodePointcut.concretize1(ResolvedType inAspect, ResolvedType declaringType, IntMap bindings) WithinPointcut.concretize1(ResolvedType inAspect, ResolvedType declaringType, IntMap bindings) PointcutRewriter.createAndsFor(Pointcut[] ps) Passed an array of pointcuts, returns an AND tree with them in.static PointcutPointcut.fromString(String str) CflowPointcut.getEntry()PerCflow.getEntry()PerObject.getEntry()AndPointcut.getLeft()OrPointcut.getLeft()NotPointcut.getNegatedPointcut()DeclareErrorOrWarning.getPointcut()DeclareSoft.getPointcut()IfPointcut.getResidueSource()AndPointcut.getRight()OrPointcut.getRight()static PointcutPointcut.makeMatchesNothing(Pointcut.State state) BasicToken.maybeGetParsedPointcut()IToken.maybeGetParsedPointcut()If this token represents a pre-parsed Pointcut, then return it; otherwise returns null.Returns a NOTted form of the pointcut p - we cope with already NOTted pointcuts.AndPointcut.parameterizeWith(Map<String, UnresolvedType> typeVariableMap, World w) AnnotationPointcut.parameterizeWith(Map<String, UnresolvedType> typeVariableMap, World w) ArgsAnnotationPointcut.parameterizeWith(Map typeVariableMap, World w) ArgsPointcut.parameterizeWith(Map<String, UnresolvedType> typeVariableMap, World w) CflowPointcut.parameterizeWith(Map<String, UnresolvedType> typeVariableMap, World w) ConcreteCflowPointcut.parameterizeWith(Map<String, UnresolvedType> typeVariableMap, World w) HandlerPointcut.parameterizeWith(Map typeVariableMap, World w) IfPointcut.parameterizeWith(Map typeVariableMap, World w) KindedPointcut.parameterizeWith(Map<String, UnresolvedType> typeVariableMap, World w) NotPointcut.parameterizeWith(Map<String, UnresolvedType> typeVariableMap, World w) OrPointcut.parameterizeWith(Map<String, UnresolvedType> typeVariableMap, World w) PerCflow.parameterizeWith(Map<String, UnresolvedType> typeVariableMap, World w) PerFromSuper.parameterizeWith(Map<String, UnresolvedType> typeVariableMap, World w) PerObject.parameterizeWith(Map<String, UnresolvedType> typeVariableMap, World w) PerSingleton.parameterizeWith(Map<String, UnresolvedType> typeVariableMap, World w) PerTypeWithin.parameterizeWith(Map<String, UnresolvedType> typeVariableMap, World w) abstract PointcutPointcut.parameterizeWith(Map<String, UnresolvedType> typeVariableMap, World w) ReferencePointcut.parameterizeWith(Map<String, UnresolvedType> typeVariableMap, World w) make a version of this pointcut with any refs to typeVariables replaced by their entry in the map.ThisOrTargetAnnotationPointcut.parameterizeWith(Map<String, UnresolvedType> typeVariableMap, World w) ThisOrTargetPointcut.parameterizeWith(Map<String, UnresolvedType> typeVariableMap, World w) WithinAnnotationPointcut.parameterizeWith(Map<String, UnresolvedType> typeVariableMap, World w) WithinCodeAnnotationPointcut.parameterizeWith(Map<String, UnresolvedType> typeVariableMap, World w) WithincodePointcut.parameterizeWith(Map typeVariableMap, World w) WithinPointcut.parameterizeWith(Map<String, UnresolvedType> typeVariableMap, World w) PatternParser.parseAnnotationPointcut()PatternParser.parsePointcut()PatternParser.parsePointcut(boolean shouldConsumeAllInput) PatternParser.parseSinglePointcut()static PointcutAndPointcut.read(VersionedDataInputStream s, ISourceContext context) static PointcutAnnotationPointcut.read(VersionedDataInputStream s, ISourceContext context) static PointcutArgsAnnotationPointcut.read(VersionedDataInputStream s, ISourceContext context) static PointcutArgsPointcut.read(VersionedDataInputStream s, ISourceContext context) static PointcutCflowPointcut.read(VersionedDataInputStream s, ISourceContext context) static PointcutHandlerPointcut.read(VersionedDataInputStream s, ISourceContext context) static PointcutIfPointcut.read(VersionedDataInputStream s, ISourceContext context) static PointcutKindedPointcut.read(VersionedDataInputStream s, ISourceContext context) static PointcutNotPointcut.read(VersionedDataInputStream s, ISourceContext context) static PointcutOrPointcut.read(VersionedDataInputStream s, ISourceContext context) static PointcutPointcut.read(VersionedDataInputStream s, ISourceContext context) static PointcutReferencePointcut.read(VersionedDataInputStream s, ISourceContext context) static PointcutThisOrTargetAnnotationPointcut.read(VersionedDataInputStream s, ISourceContext context) static PointcutThisOrTargetPointcut.read(VersionedDataInputStream s, ISourceContext context) static PointcutWithinAnnotationPointcut.read(VersionedDataInputStream s, ISourceContext context) static PointcutWithinCodeAnnotationPointcut.read(VersionedDataInputStream s, ISourceContext context) static PointcutWithincodePointcut.read(VersionedDataInputStream s, ISourceContext context) static PointcutWithinPointcut.read(VersionedDataInputStream s, ISourceContext context) final PointcutReturns this pointcut mutatedSet forcerewrite if you want to override the checking for something already in DNF (useful for some testing) Repeated processing of something already in DNF is expensive (it ends up being done for every pointcut on every incremental compile) - so let's not do it if we don't have to.Methods in org.aspectj.weaver.patterns with parameters of type PointcutModifier and TypeMethodDescriptionintCompare 2 pointcuts based on an estimate of how expensive they may be to evaluate.PointcutRewriter.createAndsFor(Pointcut[] ps) Passed an array of pointcuts, returns an AND tree with them in.static StringAllows formatting of the output pointcut for debugging...PerThisOrTargetPointcutVisitor.getPerTypePointcut(Pointcut perClausePointcut) Returns a NOTted form of the pointcut p - we cope with already NOTted pointcuts.Set forcerewrite if you want to override the checking for something already in DNF (useful for some testing) Repeated processing of something already in DNF is expensive (it ends up being done for every pointcut on every incremental compile) - so let's not do it if we don't have to.Constructors in org.aspectj.weaver.patterns with parameters of type PointcutModifierConstructorDescriptionAndPointcut(Pointcut left, Pointcut right) CflowPointcut(Pointcut entry, boolean isBelow, int[] freeVars) DeclareErrorOrWarning(boolean isError, Pointcut pointcut, String message) DeclareSoft(TypePattern exception, Pointcut pointcut) NotPointcut(Pointcut negated) NotPointcut(Pointcut pointcut, int startPos) OrPointcut(Pointcut left, Pointcut right) -
Uses of Pointcut in org.aspectj.weaver.reflect
Methods in org.aspectj.weaver.reflect that return PointcutModifier and TypeMethodDescriptionInternalUseOnlyPointcutParser.concretizePointcutExpression(Pointcut pc, Class inScope, PointcutParameter[] formalParameters) InternalUseOnlyPointcutParser.resolvePointcutExpression(String expression, Class inScope, PointcutParameter[] formalParameters) Methods in org.aspectj.weaver.reflect with parameters of type PointcutModifier and TypeMethodDescriptionInternalUseOnlyPointcutParser.concretizePointcutExpression(Pointcut pc, Class inScope, PointcutParameter[] formalParameters) -
Uses of Pointcut in org.aspectj.weaver.tools
Methods in org.aspectj.weaver.tools that return PointcutModifier and TypeMethodDescriptionprotected PointcutPointcutParser.concretizePointcutExpression(Pointcut pc, Class<?> inScope, PointcutParameter[] formalParameters) protected PointcutStandardPointcutParser.concretizePointcutExpression(Pointcut pc, Class<?> inScope, PointcutParameter[] formalParameters) protected PointcutPointcutParser.resolvePointcutExpression(String expression, Class<?> inScope, PointcutParameter[] formalParameters) protected PointcutStandardPointcutParser.resolvePointcutExpression(String expression, Class<?> inScope, PointcutParameter[] formalParameters) Methods in org.aspectj.weaver.tools with parameters of type PointcutModifier and TypeMethodDescriptionprotected PointcutPointcutParser.concretizePointcutExpression(Pointcut pc, Class<?> inScope, PointcutParameter[] formalParameters) protected PointcutStandardPointcutParser.concretizePointcutExpression(Pointcut pc, Class<?> inScope, PointcutParameter[] formalParameters)