Package com.google.common.reflect
Utilities for reflection. This package is a part of the open-source Guava library.
-
Interface Summary Interface Description TypeToInstanceMap<B extends @Nullable Object> A map, each entry of which maps aTypeToken
to an instance of that type. -
Class Summary Class Description AbstractInvocationHandler Abstract implementation ofInvocationHandler
that handlesObject.equals(java.lang.Object)
,Object.hashCode()
andObject.toString()
.ClassPath Scans the source of aClassLoader
and 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 aMethod
or aConstructor
.MutableTypeToInstanceMap<B extends @Nullable Object> 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> AType
with generics.