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
InvocationHandlerthat handlesObject.equals(java.lang.Object),Object.hashCode()andObject.toString().Scans the source of aClassLoaderand 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 aMethodor 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(com.google.common.reflect.TypeParameter<X>, com.google.common.reflect.TypeToken<X>).An object of this class encapsulates type mappings from type variables.A map, each entry of which maps aTypeTokento an instance of that type.TypeToken<T>ATypewith generics.