Lines Matching refs:instance
586 private static Object getType(Object instance) {
587 return MetaData.getPrivateFieldValue(instance, "java.util.EnumMap.keyType");
605 private static Object getType(Object instance) {
606 return MetaData.getPrivateFieldValue(instance, "java.util.EnumSet.elementType");
865 throw new RuntimeException("Unrecognized instance: " + oldInstance);
1076 private static Vector<?> getVector(Object instance) {
1077 return (Vector<?>) MetaData.getPrivateFieldValue(instance, "java.awt.CardLayout.vector");
1096 private static Hashtable<?,?> getHashtable(Object instance) {
1097 return (Hashtable<?,?>) MetaData.getPrivateFieldValue(instance, "java.awt.GridBagLayout.comptable");
1420 static Object getPrivateFieldValue(Object instance, String name) {
1444 return field.get(instance);