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.

InterTypeMethodDeclaration.java 1.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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 v1.0
  6. * which accompanies this distribution and is available at
  7. * http://eclipse.org/legal/epl-v10.html
  8. *
  9. * Contributors:
  10. * Adrian Colyer Initial implementation
  11. * ******************************************************************/
  12. package org.aspectj.lang.reflect;
  13. import java.lang.reflect.Method;
  14. import java.lang.reflect.Type;
  15. import java.lang.reflect.TypeVariable;
  16. /**
  17. * Represents an inter-type method declaration member within an aspect.
  18. */
  19. public interface InterTypeMethodDeclaration extends InterTypeDeclaration {
  20. /**
  21. * @return the name of this method
  22. */
  23. String getName();
  24. /**
  25. * @return the method return type
  26. */
  27. AjType<?> getReturnType();
  28. /**
  29. * @return the generic return type
  30. */
  31. Type getGenericReturnType();
  32. /**
  33. * @return the method parameters
  34. */
  35. AjType<?>[] getParameterTypes();
  36. /**
  37. * @return the generic method parameters
  38. */
  39. Type[] getGenericParameterTypes();
  40. /**
  41. * @return the type variables declared by this method
  42. */
  43. TypeVariable<Method>[] getTypeParameters();
  44. /**
  45. * @return the declared exceptions thrown by this method
  46. */
  47. AjType<?>[] getExceptionTypes();
  48. }