Skip navigation links

com.diffplug.guava:guava-reflect:19.0.0 by DiffPlug

A B C D E F G H I L M N O P R T U W 

A

AbstractInvocationHandler - Class in com.google.common.reflect
AbstractInvocationHandler() - Constructor for class com.google.common.reflect.AbstractInvocationHandler
 

B

build() - Method in class com.google.common.reflect.ImmutableTypeToInstanceMap.Builder
Returns a new immutable type-to-instance map containing the entries provided to this builder.
builder() - Static method in class com.google.common.reflect.ImmutableTypeToInstanceMap
Returns a new builder.

C

classes() - Method in class com.google.common.reflect.TypeToken.TypeSet
Returns the types that are classes.
ClassPath - Class in com.google.common.reflect
Scans the source of a ClassLoader and finds all loadable classes and resources.
ClassPath.ClassInfo - Class in com.google.common.reflect
Represents a class that can be loaded through ClassPath.ClassInfo.load().
ClassPath.ResourceInfo - Class in com.google.common.reflect
Represents a class path resource that can be either a class file or any other resource file loadable from the class path.
com.google.common.reflect - package com.google.common.reflect
This package contains utilities to work with Java reflection.
constructor(Constructor<?>) - Method in class com.google.common.reflect.TypeToken
Returns the Invokable for constructor, which must be a member of T.

D

delegate() - Method in class com.google.common.reflect.ImmutableTypeToInstanceMap
 
delegate() - Method in class com.google.common.reflect.MutableTypeToInstanceMap
 
delegate() - Method in class com.google.common.reflect.TypeToken.TypeSet
 

E

entrySet() - Method in class com.google.common.reflect.MutableTypeToInstanceMap
 
equals(Object) - Method in class com.google.common.reflect.AbstractInvocationHandler
By default delegates to Object.equals(java.lang.Object) so instances are only equal if they are identical.
equals(Object) - Method in class com.google.common.reflect.ClassPath.ResourceInfo
 
equals(Object) - Method in class com.google.common.reflect.Parameter
 
equals(Object) - Method in class com.google.common.reflect.TypeParameter
 
equals(Object) - Method in class com.google.common.reflect.TypeToken
Returns true if o is another TypeToken that represents the same Type.

F

from(ClassLoader) - Static method in class com.google.common.reflect.ClassPath
Returns a ClassPath representing all classes and resources loadable from classloader and its parent class loaders.
from(Method) - Static method in class com.google.common.reflect.Invokable
Returns Invokable of method.
from(Constructor<T>) - Static method in class com.google.common.reflect.Invokable
Returns Invokable of constructor.

G

getAllClasses() - Method in class com.google.common.reflect.ClassPath
Returns all classes loadable from the current class path.
getAnnotation(Class<A>) - Method in class com.google.common.reflect.Parameter
 
getAnnotations() - Method in class com.google.common.reflect.Parameter
 
getAnnotationsByType(Class<A>) - Method in class com.google.common.reflect.Parameter
 
getComponentType() - Method in class com.google.common.reflect.TypeToken
Returns the array component type if this type represents an array (int[], T[], <? extends Map<String, Integer>[]> etc.), or else null is returned.
getDeclaredAnnotation(Class<A>) - Method in class com.google.common.reflect.Parameter
 
getDeclaredAnnotations() - Method in class com.google.common.reflect.Parameter
 
getDeclaredAnnotationsByType(Class<A>) - Method in class com.google.common.reflect.Parameter
 
getDeclaringClass() - Method in class com.google.common.reflect.Invokable
 
getDeclaringInvokable() - Method in class com.google.common.reflect.Parameter
Returns the Invokable that declares this parameter.
getExceptionTypes() - Method in class com.google.common.reflect.Invokable
Returns all declared exception types of this Invokable.
getInstance(TypeToken<T>) - Method in class com.google.common.reflect.ImmutableTypeToInstanceMap
 
getInstance(Class<T>) - Method in class com.google.common.reflect.ImmutableTypeToInstanceMap
 
getInstance(Class<T>) - Method in class com.google.common.reflect.MutableTypeToInstanceMap
 
getInstance(TypeToken<T>) - Method in class com.google.common.reflect.MutableTypeToInstanceMap
 
getInstance(Class<T>) - Method in interface com.google.common.reflect.TypeToInstanceMap
Returns the value the specified class is mapped to, or null if no entry for this class is present.
getInstance(TypeToken<T>) - Method in interface com.google.common.reflect.TypeToInstanceMap
Returns the value the specified type is mapped to, or null if no entry for this type is present.
getName() - Method in class com.google.common.reflect.ClassPath.ClassInfo
Returns the fully qualified name of the class.
getOwnerType() - Method in class com.google.common.reflect.Invokable
Returns the type of T.
getPackageName() - Method in class com.google.common.reflect.ClassPath.ClassInfo
Returns the package name of the class, without attempting to load the class.
getPackageName(Class<?>) - Static method in class com.google.common.reflect.Reflection
Returns the package name of clazz according to the Java Language Specification (section 6.7).
getPackageName(String) - Static method in class com.google.common.reflect.Reflection
Returns the package name of classFullName according to the Java Language Specification (section 6.7).
getParameters() - Method in class com.google.common.reflect.Invokable
Returns all declared parameters of this Invokable.
getRawType() - Method in class com.google.common.reflect.TypeToken
Returns the raw type of T.
getResourceName() - Method in class com.google.common.reflect.ClassPath.ResourceInfo
Returns the fully qualified name of the resource.
getResources() - Method in class com.google.common.reflect.ClassPath
Returns all resources loadable from the current class path, including the class files of all loadable classes but excluding the "META-INF/MANIFEST.MF" file.
getReturnType() - Method in class com.google.common.reflect.Invokable
Returns the return type of this Invokable.
getSimpleName() - Method in class com.google.common.reflect.ClassPath.ClassInfo
Returns the simple name of the underlying class as given in the source code.
getSubtype(Class<?>) - Method in class com.google.common.reflect.TypeToken
Returns subtype of this with subclass as the raw class.
getSupertype(Class<? super T>) - Method in class com.google.common.reflect.TypeToken
Returns the generic form of superclass.
getTopLevelClasses() - Method in class com.google.common.reflect.ClassPath
Returns all top level classes loadable from the current class path.
getTopLevelClasses(String) - Method in class com.google.common.reflect.ClassPath
Returns all top level classes whose package name is packageName.
getTopLevelClassesRecursive(String) - Method in class com.google.common.reflect.ClassPath
Returns all top level classes whose package name is packageName or starts with packageName followed by a '.'.
getType() - Method in class com.google.common.reflect.Parameter
Returns the type of the parameter.
getType() - Method in class com.google.common.reflect.TypeToken
Returns the represented type.
getTypes() - Method in class com.google.common.reflect.TypeToken
Returns the set of interfaces and classes that this type is or is a subtype of.

H

handleInvocation(Object, Method, Object[]) - Method in class com.google.common.reflect.AbstractInvocationHandler
hashCode() - Method in class com.google.common.reflect.AbstractInvocationHandler
By default delegates to Object.hashCode().
hashCode() - Method in class com.google.common.reflect.ClassPath.ResourceInfo
 
hashCode() - Method in class com.google.common.reflect.Parameter
 
hashCode() - Method in class com.google.common.reflect.TypeParameter
 
hashCode() - Method in class com.google.common.reflect.TypeToken
 

I

ImmutableTypeToInstanceMap<B> - Class in com.google.common.reflect
A type-to-instance map backed by an ImmutableMap.
ImmutableTypeToInstanceMap.Builder<B> - Class in com.google.common.reflect
A builder for creating immutable type-to-instance maps.
initialize(Class<?>...) - Static method in class com.google.common.reflect.Reflection
Ensures that the given classes are initialized, as described in JLS Section 12.4.2.
interfaces() - Method in class com.google.common.reflect.TypeToken.TypeSet
Returns the types that are interfaces implemented by this type.
Invokable<T,R> - Class in com.google.common.reflect
Wrapper around either a Method or a Constructor.
invoke(Object, Method, Object[]) - Method in class com.google.common.reflect.AbstractInvocationHandler
invoke(T, Object...) - Method in class com.google.common.reflect.Invokable
Invokes with receiver as 'this' and args passed to the underlying method and returns the return value; or calls the underlying constructor with args and returns the constructed instance.
isAnnotationPresent(Class<? extends Annotation>) - Method in class com.google.common.reflect.Parameter
 
isArray() - Method in class com.google.common.reflect.TypeToken
Returns true if this type is known to be an array type, such as int[], T[], <? extends Map<String, Integer>[]> etc.
isAssignableFrom(TypeToken<?>) - Method in class com.google.common.reflect.TypeToken
Deprecated.
Use the method under its new name, TypeToken.isSupertypeOf(TypeToken). This method will be removed in Guava release 20.0.
isAssignableFrom(Type) - Method in class com.google.common.reflect.TypeToken
Deprecated.
Use the method under its new name, TypeToken.isSupertypeOf(Type). This method will be removed in Guava release 20.0.
isOverridable() - Method in class com.google.common.reflect.Invokable
Returns true if this is an overridable method.
isPrimitive() - Method in class com.google.common.reflect.TypeToken
Returns true if this type is one of the nine primitive types (including void).
isSubtypeOf(TypeToken<?>) - Method in class com.google.common.reflect.TypeToken
Returns true if this type is a subtype of the given type.
isSubtypeOf(Type) - Method in class com.google.common.reflect.TypeToken
Returns true if this type is a subtype of the given type.
isSupertypeOf(TypeToken<?>) - Method in class com.google.common.reflect.TypeToken
Returns true if this type is a supertype of the given type.
isSupertypeOf(Type) - Method in class com.google.common.reflect.TypeToken
Returns true if this type is a supertype of the given type.
isVarArgs() - Method in class com.google.common.reflect.Invokable
Returns true if this was declared to take a variable number of arguments.

L

load() - Method in class com.google.common.reflect.ClassPath.ClassInfo
Loads (but doesn't link or initialize) the class.

M

method(Method) - Method in class com.google.common.reflect.TypeToken
Returns the Invokable for method, which must be a member of T.
MutableTypeToInstanceMap<B> - Class in com.google.common.reflect
A mutable type-to-instance map.
MutableTypeToInstanceMap() - Constructor for class com.google.common.reflect.MutableTypeToInstanceMap
 

N

newProxy(Class<T>, InvocationHandler) - Static method in class com.google.common.reflect.Reflection
Returns a proxy instance that implements interfaceType by dispatching method invocations to handler.

O

of() - Static method in class com.google.common.reflect.ImmutableTypeToInstanceMap
Returns an empty type to instance map.
of(Class<T>) - Static method in class com.google.common.reflect.TypeToken
Returns an instance of type token that wraps type.
of(Type) - Static method in class com.google.common.reflect.TypeToken
Returns an instance of type token that wraps type.

P

Parameter - Class in com.google.common.reflect
Represents a method or constructor parameter.
put(Class<T>, T) - Method in class com.google.common.reflect.ImmutableTypeToInstanceMap.Builder
Associates key with value in the built map.
put(TypeToken<T>, T) - Method in class com.google.common.reflect.ImmutableTypeToInstanceMap.Builder
Associates key with value in the built map.
put(TypeToken<? extends B>, B) - Method in class com.google.common.reflect.MutableTypeToInstanceMap
Not supported.
putAll(Map<? extends TypeToken<? extends B>, ? extends B>) - Method in class com.google.common.reflect.MutableTypeToInstanceMap
Not supported.
putInstance(TypeToken<T>, T) - Method in class com.google.common.reflect.ImmutableTypeToInstanceMap
Guaranteed to throw an exception and leave the map unmodified.
putInstance(Class<T>, T) - Method in class com.google.common.reflect.ImmutableTypeToInstanceMap
Guaranteed to throw an exception and leave the map unmodified.
putInstance(Class<T>, T) - Method in class com.google.common.reflect.MutableTypeToInstanceMap
 
putInstance(TypeToken<T>, T) - Method in class com.google.common.reflect.MutableTypeToInstanceMap
 
putInstance(Class<T>, T) - Method in interface com.google.common.reflect.TypeToInstanceMap
Maps the specified class to the specified value.
putInstance(TypeToken<T>, T) - Method in interface com.google.common.reflect.TypeToInstanceMap
Maps the specified type to the specified value.

R

rawTypes() - Method in class com.google.common.reflect.TypeToken.TypeSet
Returns the raw types of the types in this set, in the same order.
Reflection - Class in com.google.common.reflect
Static utilities relating to Java reflection.
resolveType(Type) - Method in class com.google.common.reflect.TypeResolver
Resolves all type variables in type and all downstream types and returns a corresponding type with type variables resolved.
resolveType(Type) - Method in class com.google.common.reflect.TypeToken
Resolves the given type against the type context represented by this type.
returning(Class<R1>) - Method in class com.google.common.reflect.Invokable
Explicitly specifies the return type of this Invokable.
returning(TypeToken<R1>) - Method in class com.google.common.reflect.Invokable
Explicitly specifies the return type of this Invokable.

T

toString() - Method in class com.google.common.reflect.AbstractInvocationHandler
By default delegates to Object.toString().
toString() - Method in class com.google.common.reflect.ClassPath.ClassInfo
 
toString() - Method in class com.google.common.reflect.ClassPath.ResourceInfo
 
toString() - Method in class com.google.common.reflect.Parameter
 
toString() - Method in class com.google.common.reflect.TypeParameter
 
toString() - Method in class com.google.common.reflect.TypeToken
 
TypeParameter<T> - Class in com.google.common.reflect
TypeParameter() - Constructor for class com.google.common.reflect.TypeParameter
 
TypeResolver - Class in com.google.common.reflect
An object of this class encapsulates type mappings from type variables.
TypeResolver() - Constructor for class com.google.common.reflect.TypeResolver
 
TypeToInstanceMap<B> - Interface in com.google.common.reflect
A map, each entry of which maps a TypeToken to an instance of that type.
TypeToken<T> - Class in com.google.common.reflect
A Type with generics.
TypeToken() - Constructor for class com.google.common.reflect.TypeToken
Constructs a new type token of T.
TypeToken(Class<?>) - Constructor for class com.google.common.reflect.TypeToken
Constructs a new type token of T while resolving free type variables in the context of declaringClass.
TypeToken.TypeSet - Class in com.google.common.reflect
The set of interfaces and classes that T is or is a subtype of.

U

unwrap() - Method in class com.google.common.reflect.TypeToken
Returns the corresponding primitive type if this is a wrapper type; otherwise returns this itself.
url() - Method in class com.google.common.reflect.ClassPath.ResourceInfo
Returns the url identifying the resource.

W

where(Type, Type) - Method in class com.google.common.reflect.TypeResolver
Returns a new TypeResolver with type variables in formal mapping to types in actual.
where(TypeParameter<X>, TypeToken<X>) - Method in class com.google.common.reflect.TypeToken
Returns a new TypeToken where type variables represented by typeParam are substituted by typeArg.
where(TypeParameter<X>, Class<X>) - Method in class com.google.common.reflect.TypeToken
Returns a new TypeToken where type variables represented by typeParam are substituted by typeArg.
wrap() - Method in class com.google.common.reflect.TypeToken
Returns the corresponding wrapper type if this is a primitive type; otherwise returns this itself.
writeReplace() - Method in class com.google.common.reflect.TypeToken
Implemented to support serialization of subclasses.
A B C D E F G H I L M N O P R T U W 
Skip navigation links

com.diffplug.guava:guava-reflect:19.0.0 by DiffPlug