| Package | Description |
|---|---|
| com.google.common.reflect |
This package contains utilities to work with Java reflection.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractInvocationHandler
Abstract implementation of
InvocationHandler that handles Object.equals(java.lang.Object), Object.hashCode() and Object.toString(). |
class |
ClassPath
Scans the source of a
ClassLoader and finds all loadable classes and resources. |
class |
ImmutableTypeToInstanceMap<B>
A type-to-instance map backed by an
ImmutableMap. |
class |
Invokable<T,R>
Wrapper around either a
Method or a Constructor. |
class |
MutableTypeToInstanceMap<B>
A mutable type-to-instance map.
|
class |
Parameter
Represents a method or constructor parameter.
|
class |
Reflection
Static utilities relating to Java reflection.
|
(package private) class |
TypeCapture<T>
Captures the actual type of
T. |
class |
TypeParameter<T>
Captures a free type variable that can be used in
TypeToken.where(com.google.common.reflect.TypeParameter<X>, com.google.common.reflect.TypeToken<X>). |
class |
TypeResolver
An object of this class encapsulates type mappings from type variables.
|
(package private) class |
Types
Utilities for working with
Type. |
interface |
TypeToInstanceMap<B>
A map, each entry of which maps a
TypeToken to an instance of that type. |
class |
TypeToken<T>
A
Type with generics. |
(package private) class |
TypeVisitor
Based on what a
Type is, dispatch it to the corresponding visit* method. |