Package org.springframework.cglib.core
package org.springframework.cglib.core
Spring's repackaging of the
CGLIB core package
(for internal use only).
-
ClassDescriptionAbstract class for all code-generating CGLIB utilities.CGLIB GeneratorStrategy variant which exposes the application ClassLoader as current thread context ClassLoader for the time of class generation.Customizes key types for
KeyFactory
when building equals, hashCode, and toString.The default policy used byAbstractClassGenerator
.Customizes key types forKeyFactory
right in constructor.TheGeneratorStrategy
is responsible for taking aClassGenerator
and producing a byte array containing the data for the generatedClass
.Generates classes to handle multi-valued keys, for use in things such as Maps and Sets.Marker interface for customizers ofKeyFactory
AMethodVisitor
that renumbers local variables in their order of appearance.Customize the generated class name forAbstractClassGenerator
-based utilities.A representation of a method signature, containing the method name, return type, and parameter types.Custom variant of CGLIB'sDefaultNamingPolicy
, modifying the tag in generated class names from "EnhancerByCGLIB" etc to a "SpringCGLIB" tag and using a plain counter suffix instead of a hash code suffix (as of 6.0).Deprecated.WeakCacheKey<T>Allows to check for object equality, yet the class does not keep strong reference to the target.