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.

MemberUtils.java 735B

12345678910111213141516171819202122232425
  1. /* *******************************************************************
  2. * Copyright (c) 2010 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. * Andy Clement, SpringSource
  11. * ******************************************************************/
  12. package org.aspectj.weaver;
  13. /**
  14. * Common utility methods for members.
  15. *
  16. * @author Andy Clement
  17. */
  18. public class MemberUtils {
  19. public static boolean isConstructor(ResolvedMember member) {
  20. return member.getName().equals("<init>");
  21. }
  22. }