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(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.MutableTypeToInstanceMap<B extends @Nullable Object>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.TypeToInstanceMap<B extends @Nullable Object>A map, each entry of which maps aTypeTokento an instance of that type.TypeToken<T>ATypewith generics.