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

changeset 101
f8221ce53c2e
parent 90
5a820fb11814
child 133
5759f600fcf7
equal deleted inserted replaced
100:3245e174fe3a 101:f8221ce53c2e
92 import java.util.Collection; 92 import java.util.Collection;
93 import java.util.Collections; 93 import java.util.Collections;
94 import java.util.Map; 94 import java.util.Map;
95 import jdk.internal.dynalink.support.Lookup; 95 import jdk.internal.dynalink.support.Lookup;
96 96
97
98 /** 97 /**
99 * Base for classes that expose class field and method information to an {@link AbstractJavaLinker}. There are 98 * Base for classes that expose class field and method information to an {@link AbstractJavaLinker}. There are
100 * subclasses for instance (bean) and static facet of a class. 99 * subclasses for instance (bean) and static facet of a class.
101 * @author Attila Szegedi 100 * @author Attila Szegedi
102 */ 101 */
103 abstract class FacetIntrospector implements AutoCloseable { 102 abstract class FacetIntrospector {
104 private final Class<?> clazz; 103 private final Class<?> clazz;
105 private final boolean instance; 104 private final boolean instance;
106 private final boolean isRestricted; 105 private final boolean isRestricted;
107 106
108 protected final AccessibleMembersLookup membersLookup; 107 protected final AccessibleMembersLookup membersLookup;
179 * dropArguments. 178 * dropArguments.
180 * @param mh the method handle to edit. 179 * @param mh the method handle to edit.
181 * @return the edited method handle. 180 * @return the edited method handle.
182 */ 181 */
183 abstract MethodHandle editMethodHandle(MethodHandle mh); 182 abstract MethodHandle editMethodHandle(MethodHandle mh);
184
185 @Override
186 public void close() {
187 }
188 } 183 }

mercurial