org.aspectj.weaver.reflect.InternalUseOnlyPointcutParser Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aspectjweaver Show documentation
Show all versions of aspectjweaver Show documentation
The AspectJ weaver introduces advices to java classes
/* *******************************************************************
* Copyright (c) 2006 Contributors.
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v 2.0
* which accompanies this distribution and is available at
* https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt
*
* Contributors:
* Adrian Colyer Initial implementation
* ******************************************************************/
package org.aspectj.weaver.reflect;
import org.aspectj.weaver.patterns.Pointcut;
import org.aspectj.weaver.tools.PointcutParameter;
import org.aspectj.weaver.tools.PointcutParser;
public class InternalUseOnlyPointcutParser extends PointcutParser {
public InternalUseOnlyPointcutParser(ClassLoader classLoader, ReflectionWorld world) {
super();
setClassLoader(classLoader);
setWorld(world);
}
public InternalUseOnlyPointcutParser(ClassLoader classLoader) {
super();
setClassLoader(classLoader);
}
public Pointcut resolvePointcutExpression(
String expression,
Class inScope,
PointcutParameter[] formalParameters) {
return super.resolvePointcutExpression(expression, inScope, formalParameters);
}
public Pointcut concretizePointcutExpression(Pointcut pc, Class inScope, PointcutParameter[] formalParameters) {
return super.concretizePointcutExpression(pc, inScope, formalParameters);
}
}