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 org.apache.servicemix.bundles.aspectj
Show all versions of org.apache.servicemix.bundles.aspectj
This OSGi bundle wraps aspectjrt and aspectjweaver ${pkgVersion} jar files.
/* *******************************************************************
* Copyright (c) 2006 Contributors.
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0
* which accompanies this distribution and is available at
* http://eclipse.org/legal/epl-v10.html
*
* 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);
}
}