src/jdk/internal/dynalink/beans/FacetIntrospector.java

changeset 404
18d467e94150
parent 133
5759f600fcf7
child 463
8b97fe2b7c98
equal deleted inserted replaced
403:4afdc5bec43b 404:18d467e94150
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.

mercurial