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.

GenericSignatureInformationProvider.java 1.2KB

12345678910111213141516171819202122232425262728293031
  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.UnresolvedType;
  14. /**
  15. * This interface exists to support two different strategies for answering
  16. * generic signature related questions on Java 5 and pre-Java 5.
  17. */
  18. public interface GenericSignatureInformationProvider {
  19. UnresolvedType[] getGenericParameterTypes(ReflectionBasedResolvedMemberImpl resolvedMember);
  20. UnresolvedType getGenericReturnType(ReflectionBasedResolvedMemberImpl resolvedMember);
  21. boolean isBridge(ReflectionBasedResolvedMemberImpl resolvedMember);
  22. boolean isVarArgs(ReflectionBasedResolvedMemberImpl resolvedMember);
  23. boolean isSynthetic(ReflectionBasedResolvedMemberImpl resolvedMember);
  24. }