< prev index next > src/java.base/share/classes/java/lang/invoke/MethodHandleInfo.java
Print this page
public Class<?> getDeclaringClass();
/**
* Returns the name of the cracked method handle's underlying member.
* This is {@code "<init>"} if the underlying member was a constructor,
! * else it is a simple method name or field name.
* @return the simple name of the underlying member
*/
public String getName();
/**
public Class<?> getDeclaringClass();
/**
* Returns the name of the cracked method handle's underlying member.
* This is {@code "<init>"} if the underlying member was a constructor,
! * or {@code "<vnew>"} if the underlying member was a value class static
+ * factory method, else it is a simple method name or field name.
+ * was a constructor, else it is a simple method name or field name.
* @return the simple name of the underlying member
*/
public String getName();
/**
< prev index next >