You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

InternalUseOnlyPointcutParser.java 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /* *******************************************************************
  2. * Copyright (c) 2006 Contributors.
  3. * All rights reserved.
  4. * This program and the accompanying materials are made available
  5. * under the terms of the Eclipse Public License v 2.0
  6. * which accompanies this distribution and is available at
  7. * https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt
  8. *
  9. * Contributors:
  10. * Adrian Colyer Initial implementation
  11. * ******************************************************************/
  12. package org.aspectj.weaver.reflect;
  13. import org.aspectj.weaver.patterns.Pointcut;
  14. import org.aspectj.weaver.tools.PointcutParameter;
  15. import org.aspectj.weaver.tools.PointcutParser;
  16. public class InternalUseOnlyPointcutParser extends PointcutParser {
  17. public InternalUseOnlyPointcutParser(ClassLoader classLoader, ReflectionWorld world) {
  18. super();
  19. setClassLoader(classLoader);
  20. setWorld(world);
  21. }
  22. public InternalUseOnlyPointcutParser(ClassLoader classLoader) {
  23. super();
  24. setClassLoader(classLoader);
  25. }
  26. public Pointcut resolvePointcutExpression(
  27. String expression,
  28. Class inScope,
  29. PointcutParameter[] formalParameters) {
  30. return super.resolvePointcutExpression(expression, inScope, formalParameters);
  31. }
  32. public Pointcut concretizePointcutExpression(Pointcut pc, Class inScope, PointcutParameter[] formalParameters) {
  33. return super.concretizePointcutExpression(pc, inScope, formalParameters);
  34. }
  35. }