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

Class NullExclusionStrategy

src/main/java/com/google/gson/NullExclusionStrategy.java:27–36  ·  view source on GitHub ↗

This acts as a "Null Object" pattern for the ExclusionStrategy. Passing an instance of this class into the ObjectNavigator will make the ObjectNavigator parse/visit every field of the object being navigated. @author Joel Leitch

Source from the content-addressed store, hash-verified

25 * @author Joel Leitch
26 */
27final class NullExclusionStrategy implements ExclusionStrategy {
28
29 public boolean shouldSkipField(FieldAttributes f) {
30 return false;
31 }
32
33 public boolean shouldSkipClass(Class<?> clazz) {
34 return false;
35 }
36}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected