Uses of Interface
com.google.gson.ReflectionAccessFilter
Packages that use ReflectionAccessFilter
Package
Description
This package provides the
Gson
class to convert Json to Java and
vice-versa.Do NOT use any class in this package as they are meant for internal use in Gson.
-
Uses of ReflectionAccessFilter in com.google.gson
Fields in com.google.gson declared as ReflectionAccessFilterModifier and TypeFieldDescriptionstatic final ReflectionAccessFilter
ReflectionAccessFilter.BLOCK_ALL_ANDROID
Blocks all reflection access to members of standard Android classes.static final ReflectionAccessFilter
ReflectionAccessFilter.BLOCK_ALL_JAVA
Blocks all reflection access to members of standard Java classes.static final 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 final 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 ReflectionAccessFilterModifier and TypeFieldDescription(package private) final List<ReflectionAccessFilter>
Gson.reflectionFilters
private final LinkedList<ReflectionAccessFilter>
GsonBuilder.reflectionFilters
Methods in com.google.gson with parameters of type ReflectionAccessFilterModifier and TypeMethodDescriptionGsonBuilder.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 ReflectionAccessFilterModifier and TypeFieldDescriptionprivate final List<ReflectionAccessFilter>
ConstructorConstructor.reflectionFilters
Method parameters in com.google.gson.internal with type arguments of type ReflectionAccessFilterModifier and TypeMethodDescriptionReflectionAccessFilterHelper.getFilterResult
(List<ReflectionAccessFilter> reflectionFilters, 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 ReflectionAccessFilterModifierConstructorDescriptionConstructorConstructor
(Map<Type, InstanceCreator<?>> instanceCreators, boolean useJdkUnsafe, List<ReflectionAccessFilter> reflectionFilters) -
Uses of ReflectionAccessFilter in com.google.gson.internal.bind
Fields in com.google.gson.internal.bind with type parameters of type ReflectionAccessFilterModifier and TypeFieldDescriptionprivate final List<ReflectionAccessFilter>
ReflectiveTypeAdapterFactory.reflectionFilters
Constructor parameters in com.google.gson.internal.bind with type arguments of type ReflectionAccessFilterModifierConstructorDescriptionReflectiveTypeAdapterFactory
(ConstructorConstructor constructorConstructor, FieldNamingStrategy fieldNamingPolicy, Excluder excluder, JsonAdapterAnnotationTypeAdapterFactory jsonAdapterFactory, List<ReflectionAccessFilter> reflectionFilters)