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.

ArgNameFinder.java 893B

1234567891011121314151617181920212223242526
  1. /* *******************************************************************
  2. * Copyright (c) 2005-2017 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. package org.aspectj.weaver.reflect;
  10. import java.lang.reflect.Member;
  11. /**
  12. * @author Adrian Colyer
  13. * @author Andy Clement
  14. */
  15. public interface ArgNameFinder {
  16. /**
  17. * Attempt to discover the parameter names for a reflectively obtained member.
  18. * @param forMember the member for which parameter names are being looked up
  19. * @return parameter names or null if names can't be determined
  20. */
  21. String[] getParameterNames(Member forMember);
  22. }