Package com.google.common.reflect
@CheckReturnValue
@NullMarked
package com.google.common.reflect
Utilities for reflection. This package is a part of the open-source Guava library.
-
ClassDescriptionAbstract implementation of
InvocationHandler
that handlesObject.equals(Object)
,Object.hashCode()
andObject.toString()
.Scans the source of aClassLoader
and finds all loadable classes and resources.Represents a class that can be loaded throughClassPath.ClassInfo.load()
.Represents a class path resource that can be either a class file or any other resource file loadable from the class path.A type-to-instance map backed by anImmutableMap
.A builder for creating immutable type-to-instance maps.Invokable<T,R> Wrapper around either aMethod
or aConstructor
.A mutable type-to-instance map.Represents a method or constructor parameter.Static utilities relating to Java reflection.Captures a free type variable that can be used inTypeToken.where(TypeParameter, TypeToken)
.An object of this class encapsulates type mappings from type variables.A map, each entry of which maps aTypeToken
to an instance of that type.TypeToken<T>AType
with generics.