Class InternalUseOnlyPointcutParser
java.lang.Object
org.aspectj.weaver.tools.PointcutParser
org.aspectj.weaver.reflect.InternalUseOnlyPointcutParser
-
Constructor Summary
ConstructorsConstructorDescriptionInternalUseOnlyPointcutParser(ClassLoader classLoader) InternalUseOnlyPointcutParser(ClassLoader classLoader, ReflectionWorld world) -
Method Summary
Modifier and TypeMethodDescriptionconcretizePointcutExpression(Pointcut pc, Class inScope, PointcutParameter[] formalParameters) resolvePointcutExpression(String expression, Class inScope, PointcutParameter[] formalParameters) Methods inherited from class PointcutParser
createPointcutParameter, getAllSupportedPointcutPrimitives, getPointcutParserSupportingAllPrimitivesAndUsingContextClassloaderForResolution, getPointcutParserSupportingAllPrimitivesAndUsingSpecifiedClassloaderForResolution, getPointcutParserSupportingSpecifiedPrimitivesAndUsingContextClassloaderForResolution, getPointcutParserSupportingSpecifiedPrimitivesAndUsingSpecifiedClassLoaderForResolution, parsePointcutExpression, parsePointcutExpression, parseTypePattern, registerPointcutDesignatorHandler, setClassLoader, setClassLoader, setLintProperties, setLintProperties, setWorldModifier and TypeMethodDescriptioncreatePointcutParameter(String name, Class<?> type) Create a pointcut parameter of the given name and type.static Set<PointcutPrimitive> static PointcutParserReturns a pointcut parser that can parse the full AspectJ pointcut language with the following exceptions: Theif, cflow, and cflowbelowpointcut designators are not supported Pointcut expressions must be self-contained :- they cannot contain references to other named pointcuts The pointcut expression must be anonymous with no formals allowed.static PointcutParsergetPointcutParserSupportingAllPrimitivesAndUsingSpecifiedClassloaderForResolution(ClassLoader classLoader) Returns a pointcut parser that can parse the full AspectJ pointcut language with the following exceptions: Theif, cflow, and cflowbelowpointcut designators are not supported Pointcut expressions must be self-contained :- they cannot contain references to other named pointcuts The pointcut expression must be anonymous with no formals allowed.static PointcutParsergetPointcutParserSupportingSpecifiedPrimitivesAndUsingContextClassloaderForResolution(Set<PointcutPrimitive> supportedPointcutKinds) Returns a pointcut parser that can parse pointcut expressions built from a user-defined subset of AspectJ's supported pointcut primitives.static PointcutParsergetPointcutParserSupportingSpecifiedPrimitivesAndUsingSpecifiedClassLoaderForResolution(Set<PointcutPrimitive> supportedPointcutKinds, ClassLoader classLoader) Returns a pointcut parser that can parse pointcut expressions built from a user-defined subset of AspectJ's supported pointcut primitives.parsePointcutExpression(String expression) Parse the given pointcut expression.parsePointcutExpression(String expression, Class<?> inScope, PointcutParameter[] formalParameters) Parse the given pointcut expression.parseTypePattern(String typePattern) Parse the given aspectj type pattern, and return a matcher that can be used to match types using it.voidregisterPointcutDesignatorHandler(PointcutDesignatorHandler designatorHandler) Register a new pointcut designator handler with this parser.protected voidsetClassLoader(ClassLoader aLoader) Set the classloader that this parser should use for type resolution.protected voidsetClassLoader(ClassLoader aLoader, boolean shareWorlds) Set the classloader that this parser should use for type resolution.voidsetLintProperties(String resourcePath) Set the lint properties for this parser from the given resource on the classpath.voidsetLintProperties(Properties properties) Set the lint properties for this parser from the given properties set.protected voidsetWorld(ReflectionWorld aWorld)
-
Constructor Details
-
InternalUseOnlyPointcutParser
-
InternalUseOnlyPointcutParser
-
-
Method Details
-
resolvePointcutExpression
public Pointcut resolvePointcutExpression(String expression, Class inScope, PointcutParameter[] formalParameters) - Overrides:
resolvePointcutExpressionin classPointcutParser
-
concretizePointcutExpression
public Pointcut concretizePointcutExpression(Pointcut pc, Class inScope, PointcutParameter[] formalParameters) - Overrides:
concretizePointcutExpressionin classPointcutParser
-