mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Remove method FieldAccessor.get
… which fails in JDK 9.
This commit is contained in:
-4
@@ -40,8 +40,4 @@ public class FieldAccessor<FIELD_TYPE> {
|
||||
private static Object getFieldValue(Class c, String fieldName, Object o) {
|
||||
return ReflectionUtil.getField(c, o, null, fieldName);
|
||||
}
|
||||
|
||||
public static <FIELD_TYPE> FIELD_TYPE get(Class hostClass, Object host, String fieldName) {
|
||||
return (FIELD_TYPE)getFieldValue(hostClass, fieldName, host);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user