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.

PointcutParameterImpl.java 1.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /* *******************************************************************
  2. * Copyright (c) 2005 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.tools.PointcutParameter;
  14. public class PointcutParameterImpl implements PointcutParameter {
  15. String name;
  16. Class type;
  17. Object binding;
  18. public PointcutParameterImpl(String name, Class type) {
  19. this.name = name;
  20. this.type = type;
  21. }
  22. public String getName() {
  23. return name;
  24. }
  25. public Class getType() {
  26. return type;
  27. }
  28. public Object getBinding() {
  29. return binding;
  30. }
  31. void setBinding(Object boundValue) {
  32. this.binding = boundValue;
  33. }
  34. }