@CheckReturnValue @ParametersAreNonnullByDefault
Package com.google.common.reflect
This package contains utilities to work with Java reflection. It is a part of the open-source Guava library.
-
Interface Summary Interface Description TypeToInstanceMap<B> A map, each entry of which maps aTypeTokento an instance of that type. -
Class Summary Class Description AbstractInvocationHandler Abstract implementation ofInvocationHandlerthat handlesObject.equals(java.lang.Object),Object.hashCode()andObject.toString().ClassPath Scans the source of aClassLoaderand finds all loadable classes and resources.ClassPath.ClassInfo Represents a class that can be loaded throughClassPath.ClassInfo.load().ClassPath.ResourceInfo Represents a class path resource that can be either a class file or any other resource file loadable from the class path.ImmutableTypeToInstanceMap<B> A type-to-instance map backed by anImmutableMap.ImmutableTypeToInstanceMap.Builder<B> A builder for creating immutable type-to-instance maps.Invokable<T,R> Wrapper around either aMethodor aConstructor.MutableTypeToInstanceMap<B> A mutable type-to-instance map.Parameter Represents a method or constructor parameter.Reflection Static utilities relating to Java reflection.TypeParameter<T> Captures a free type variable that can be used inTypeToken.where(com.google.common.reflect.TypeParameter<X>, com.google.common.reflect.TypeToken<X>).TypeResolver An object of this class encapsulates type mappings from type variables.TypeToken<T> ATypewith generics.