Package org.aspectj.weaver.tools
Class PointcutParser
- java.lang.Object
-
- org.aspectj.weaver.tools.PointcutParser
-
- Direct Known Subclasses:
InternalUseOnlyPointcutParser
public class PointcutParser extends Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPointcutParser()
-
Method Summary
-
-
-
Method Detail
-
getAllSupportedPointcutPrimitives
public static Set<PointcutPrimitive> getAllSupportedPointcutPrimitives()
-
getPointcutParserSupportingAllPrimitivesAndUsingContextClassloaderForResolution
public static PointcutParser getPointcutParserSupportingAllPrimitivesAndUsingContextClassloaderForResolution()
-
getPointcutParserSupportingSpecifiedPrimitivesAndUsingContextClassloaderForResolution
public static PointcutParser getPointcutParserSupportingSpecifiedPrimitivesAndUsingContextClassloaderForResolution(Set<PointcutPrimitive> supportedPointcutKinds)
-
getPointcutParserSupportingAllPrimitivesAndUsingSpecifiedClassloaderForResolution
public static PointcutParser getPointcutParserSupportingAllPrimitivesAndUsingSpecifiedClassloaderForResolution(ClassLoader classLoader)
-
getPointcutParserSupportingSpecifiedPrimitivesAndUsingSpecifiedClassLoaderForResolution
public static PointcutParser getPointcutParserSupportingSpecifiedPrimitivesAndUsingSpecifiedClassLoaderForResolution(Set<PointcutPrimitive> supportedPointcutKinds, ClassLoader classLoader)
-
setWorld
protected void setWorld(ReflectionWorld aWorld)
-
setClassLoader
protected void setClassLoader(ClassLoader aLoader)
-
setClassLoader
protected void setClassLoader(ClassLoader aLoader, boolean shareWorlds)
-
setLintProperties
public void setLintProperties(String resourcePath) throws IOException
- Throws:
IOException
-
setLintProperties
public void setLintProperties(Properties properties)
-
registerPointcutDesignatorHandler
public void registerPointcutDesignatorHandler(PointcutDesignatorHandler designatorHandler)
-
createPointcutParameter
public PointcutParameter createPointcutParameter(String name, Class<?> type)
-
parsePointcutExpression
public PointcutExpression parsePointcutExpression(String expression) throws UnsupportedPointcutPrimitiveException, IllegalArgumentException
-
parsePointcutExpression
public PointcutExpression parsePointcutExpression(String expression, Class<?> inScope, PointcutParameter[] formalParameters) throws UnsupportedPointcutPrimitiveException, IllegalArgumentException
-
resolvePointcutExpression
protected Pointcut resolvePointcutExpression(String expression, Class<?> inScope, PointcutParameter[] formalParameters)
-
concretizePointcutExpression
protected Pointcut concretizePointcutExpression(Pointcut pc, Class<?> inScope, PointcutParameter[] formalParameters)
-
parseTypePattern
public TypePatternMatcher parseTypePattern(String typePattern) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
-