nashorn/src/jdk/internal/dynalink/beans/FacetIntrospector.java
changeset 18841 9bbc4b8832b2
parent 16277 fd698c5ee684
child 19092 e23f2618ffde
equal deleted inserted replaced
18840:3e7bff1b7b59 18841:9bbc4b8832b2
   165 
   165 
   166     MethodHandle unreflectSetter(Field field) {
   166     MethodHandle unreflectSetter(Field field) {
   167         return editMethodHandle(SafeUnreflector.unreflectSetter(field));
   167         return editMethodHandle(SafeUnreflector.unreflectSetter(field));
   168     }
   168     }
   169 
   169 
   170     MethodHandle unreflect(Method method) {
       
   171         return editMethodHandle(SafeUnreflector.unreflect(method));
       
   172     }
       
   173 
       
   174     /**
   170     /**
   175      * Returns an edited method handle. A facet might need to edit an unreflected method handle before it is usable with
   171      * Returns an edited method handle. A facet might need to edit an unreflected method handle before it is usable with
   176      * the facet. By default, returns the passed method handle unchanged. The class' static facet will introduce a
   172      * the facet. By default, returns the passed method handle unchanged. The class' static facet will introduce a
   177      * dropArguments.
   173      * dropArguments.
   178      * @param mh the method handle to edit.
   174      * @param mh the method handle to edit.