Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
testDeclaredTypeAndClass
Method · 0.45
testReadClosed
Method · 0.45
testWriteHtmlSafe
Method · 0.45
testWriteLenient
Method · 0.45
testHasGenericButNotSpecific
Method · 0.45
testHasSpecificType
Method · 0.45
testParseComments
Method · 0.45
testOurTypeFunctionality
Method · 0.45
testNotEquals
Method · 0.45
testOurTypeFunctionality
Method · 0.45
testNotEquals
Method · 0.45
testEmptyMapSerialization
Method · 0.45
Calls
no outgoing calls
Tested by
15
testDeclaredTypeAndClass
Method · 0.36
testReadClosed
Method · 0.36
testWriteHtmlSafe
Method · 0.36
testWriteLenient
Method · 0.36
testHasGenericButNotSpecific
Method · 0.36
testHasSpecificType
Method · 0.36
testParseComments
Method · 0.36
testOurTypeFunctionality
Method · 0.36
testNotEquals
Method · 0.36
testOurTypeFunctionality
Method · 0.36
testNotEquals
Method · 0.36
testEmptyMapSerialization
Method · 0.36