- 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.
- ImmutableTypeToInstanceMap<B> - Class in com.google.common.reflect
-
- 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
-
- 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
-
- 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
-
- isAssignableFrom(Type) - Method in class com.google.common.reflect.TypeToken
-
- 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.