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

Method getType

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

Gets underlying Type instance.

()

Source from the content-addressed store, hash-verified

100 * Gets underlying {@code Type} instance.
101 */
102 public final Type getType() {
103 return type;
104 }
105
106 /**
107 * Check if this type is assignable from the given class object.

Callers 15

testReadClosedMethod · 0.45
testWriteHtmlSafeMethod · 0.45
testWriteLenientMethod · 0.45
testHasSpecificTypeMethod · 0.45
testParseCommentsMethod · 0.45
testNotEqualsMethod · 0.45
testNotEqualsMethod · 0.45

Calls

no outgoing calls

Tested by 15

testReadClosedMethod · 0.36
testWriteHtmlSafeMethod · 0.36
testWriteLenientMethod · 0.36
testHasSpecificTypeMethod · 0.36
testParseCommentsMethod · 0.36
testNotEqualsMethod · 0.36
testNotEqualsMethod · 0.36