Uses of Interface
com.google.gson.ReflectionAccessFilter
-
Packages that use ReflectionAccessFilter Package Description com.google.gson This package provides theGson
class to convert Json to Java and vice-versa.com.google.gson.internal Do NOT use any class in this package as they are meant for internal use in Gson.com.google.gson.internal.bind -
-
Uses of ReflectionAccessFilter in com.google.gson
Fields in com.google.gson declared as ReflectionAccessFilter Modifier and Type Field Description static ReflectionAccessFilter
ReflectionAccessFilter. BLOCK_ALL_ANDROID
Blocks all reflection access to members of standard Android classes.static ReflectionAccessFilter
ReflectionAccessFilter. BLOCK_ALL_JAVA
Blocks all reflection access to members of standard Java classes.static ReflectionAccessFilter
ReflectionAccessFilter. BLOCK_ALL_PLATFORM
Blocks all reflection access to members of classes belonging to programming language platforms, such as Java, Android, Kotlin or Scala.static ReflectionAccessFilter
ReflectionAccessFilter. BLOCK_INACCESSIBLE_JAVA
Blocks all reflection access to members of standard Java classes which are not accessible by default.Fields in com.google.gson with type parameters of type ReflectionAccessFilter Modifier and Type Field Description (package private) java.util.List<ReflectionAccessFilter>
Gson. reflectionFilters
private java.util.LinkedList<ReflectionAccessFilter>
GsonBuilder. reflectionFilters
Methods in com.google.gson with parameters of type ReflectionAccessFilter Modifier and Type Method Description GsonBuilder
GsonBuilder. addReflectionAccessFilter(ReflectionAccessFilter filter)
Adds a reflection access filter. -
Uses of ReflectionAccessFilter in com.google.gson.internal
Fields in com.google.gson.internal with type parameters of type ReflectionAccessFilter Modifier and Type Field Description private java.util.List<ReflectionAccessFilter>
ConstructorConstructor. reflectionFilters
Method parameters in com.google.gson.internal with type arguments of type ReflectionAccessFilter Modifier and Type Method Description static ReflectionAccessFilter.FilterResult
ReflectionAccessFilterHelper. getFilterResult(java.util.List<ReflectionAccessFilter> reflectionFilters, java.lang.Class<?> c)
Gets the result of applying all filters until the first one returns a result other thanReflectionAccessFilter.FilterResult.INDECISIVE
, orReflectionAccessFilter.FilterResult.ALLOW
if the list of filters is empty or all returnedINDECISIVE
.Constructor parameters in com.google.gson.internal with type arguments of type ReflectionAccessFilter Constructor Description ConstructorConstructor(java.util.Map<java.lang.reflect.Type,InstanceCreator<?>> instanceCreators, boolean useJdkUnsafe, java.util.List<ReflectionAccessFilter> reflectionFilters)
-
Uses of ReflectionAccessFilter in com.google.gson.internal.bind
Fields in com.google.gson.internal.bind with type parameters of type ReflectionAccessFilter Modifier and Type Field Description private java.util.List<ReflectionAccessFilter>
ReflectiveTypeAdapterFactory. reflectionFilters
Constructor parameters in com.google.gson.internal.bind with type arguments of type ReflectionAccessFilter Constructor Description ReflectiveTypeAdapterFactory(ConstructorConstructor constructorConstructor, FieldNamingStrategy fieldNamingPolicy, Excluder excluder, JsonAdapterAnnotationTypeAdapterFactory jsonAdapterFactory, java.util.List<ReflectionAccessFilter> reflectionFilters)
-