< prev index next >

src/java.base/share/classes/java/lang/invoke/VarHandle.java

Print this page

        

*** 1824,1834 **** * @return the {@code AccessMode} value * @throws IllegalArgumentException if there is no {@code AccessMode} * value associated with method name (indicating the method * name does not correspond to a {@code VarHandle} * signature-polymorphic method name). ! * @see #methodName */ public static AccessMode valueFromMethodName(String methodName) { AccessMode am = methodNameToAccessMode.get(methodName); if (am != null) return am; throw new IllegalArgumentException("No AccessMode value for method name " + methodName); --- 1824,1834 ---- * @return the {@code AccessMode} value * @throws IllegalArgumentException if there is no {@code AccessMode} * value associated with method name (indicating the method * name does not correspond to a {@code VarHandle} * signature-polymorphic method name). ! * @see #methodName() */ public static AccessMode valueFromMethodName(String methodName) { AccessMode am = methodNameToAccessMode.get(methodName); if (am != null) return am; throw new IllegalArgumentException("No AccessMode value for method name " + methodName);
< prev index next >