MCPcopy Create free account
hub / github.com/ReadyTalk/avian / getGenericType

Method getGenericType

classpath/java/lang/reflect/Field.java:73–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

71 }
72
73 public Type getGenericType() {
74 if (vmField.addendum == null || vmField.addendum.signature == null) {
75 return getType();
76 }
77 String signature = Classes.toString((byte[]) vmField.addendum.signature);
78 return SignatureParser.parse(vmField.class_.loader, signature, getDeclaringClass());
79 }
80
81 public Object get(Object instance) throws IllegalAccessException {
82 Object target;

Callers 1

genericTypeMethod · 0.95

Calls 4

getTypeMethod · 0.95
toStringMethod · 0.95
parseMethod · 0.95
getDeclaringClassMethod · 0.95

Tested by 1

genericTypeMethod · 0.76