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

Method createJsonNull

src/main/java/com/google/gson/JsonNull.java:69–71  ·  view source on GitHub ↗

Creation method used to return an instance of a JsonNull. To reduce the memory footprint, a single object has been created for this class; therefore the same instance is being returned for each invocation of this method. This method is kept private since we prefer the users to use {@link Js

()

Source from the content-addressed store, hash-verified

67 * @return a instance of a {@link JsonNull}
68 */
69 static JsonNull createJsonNull() {
70 return INSTANCE;
71 }
72}

Callers 15

testEqualsAndHashcodeMethod · 0.95
serializeMethod · 0.95
addMethod · 0.95
parseMethod · 0.95
visitArrayFieldMethod · 0.95
visitObjectFieldMethod · 0.95
visitPrimitiveMethod · 0.95
addAsArrayElementMethod · 0.95

Calls

no outgoing calls

Tested by 2

testEqualsAndHashcodeMethod · 0.76