Package | Description |
---|---|
com.google.common.reflect |
This package contains utilities to work with Java reflection.
|
com.google.common.testing |
This package contains testing utilities.
|
Class and Description |
---|
ClassPath
Scans the source of a
ClassLoader and finds all loadable classes and resources. |
ClassPath.ClassInfo
Represents a class that can be loaded through
ClassPath.ClassInfo.load() . |
ClassPath.LocationInfo
Represents a single location (a directory or a jar file) in the class path and is responsible
for scanning resources from this location.
|
ClassPath.ResourceInfo
Represents a class path resource that can be either a class file or any other resource file
loadable from the class path.
|
Element
Represents either a
Field , a Method or a Constructor . |
ImmutableTypeToInstanceMap
A type-to-instance map backed by an
ImmutableMap . |
ImmutableTypeToInstanceMap.Builder
A builder for creating immutable type-to-instance maps.
|
Invokable
Wrapper around either a
Method or a Constructor . |
Parameter
Represents a method or constructor parameter.
|
TypeCapture
Captures the actual type of
T . |
TypeParameter
Captures a free type variable that can be used in
TypeToken.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.
|
TypeResolver.TypeTable
A TypeTable maintains mapping from
TypeVariable to types. |
TypeResolver.TypeVariableKey
Wraps around
TypeVariable<?> to ensure that any two type variables are equal as long as
they are declared by the same GenericDeclaration and have the same
name, even if their bounds differ. |
TypeResolver.WildcardCapturer |
Types.ClassOwnership
Decides what owner type to use for constructing
ParameterizedType from a raw class. |
Types.JavaVersion |
Types.TypeVariableImpl |
TypeToInstanceMap
A map, each entry of which maps a
TypeToken to an instance of that type. |
TypeToken
A
Type with generics. |
TypeToken.Bounds |
TypeToken.TypeCollector
Collects parent types from a sub type.
|
TypeToken.TypeFilter |
TypeToken.TypeSet
The set of interfaces and classes that
T is or is a subtype of. |
TypeVisitor
Based on what a
Type is, dispatch it to the corresponding visit* method. |
Class and Description |
---|
AbstractInvocationHandler
Abstract implementation of
InvocationHandler that handles Object.equals(java.lang.Object) , Object.hashCode() and Object.toString() . |
Invokable
Wrapper around either a
Method or a Constructor . |
Parameter
Represents a method or constructor parameter.
|
TypeToken
A
Type with generics. |