MCPcopy
hub / github.com/google/gson / getType

Method getType

gson/src/main/java/com/google/gson/reflect/TypeToken.java:166–168  ·  view source on GitHub ↗

Gets underlying Type instance.

()

Source from the content-addressed store, hash-verified

164
165 /** Gets underlying {@code Type} instance. */
166 public final Type getType() {
167 return type;
168 }
169
170 /**
171 * Check if this type is assignable from the given class object.

Callers 15

testMethod · 0.95
readFieldMethod · 0.80
readSingleFieldValueMethod · 0.80
writeMethod · 0.80
writeSingleFieldValueMethod · 0.80
serializeMethod · 0.80
deserializeMethod · 0.80

Calls

no outgoing calls

Tested by 15

testMethod · 0.76
testReadClosedMethod · 0.64
testWriteLenientMethod · 0.64
testParseCommentsMethod · 0.64
testMapIsSerializableMethod · 0.64