org.springframework.cglib.transform.impl
Class MemorySafeUndeclaredThrowableStrategy
- java.lang.Object
-
- org.springframework.cglib.core.DefaultGeneratorStrategy
-
- org.springframework.cglib.transform.impl.MemorySafeUndeclaredThrowableStrategy
-
- All Implemented Interfaces:
- org.springframework.cglib.core.GeneratorStrategy
public class MemorySafeUndeclaredThrowableStrategy extends org.springframework.cglib.core.DefaultGeneratorStrategy
Memory-safe variant ofUndeclaredThrowableStrategy
ported from CGLIB 3.1, introduced for using it in Spring before it was officially released in CGLIB.- Since:
- 3.2.4
- Author:
- Phillip Webb
-
Constructor Summary
Constructors Constructor and Description MemorySafeUndeclaredThrowableStrategy(Class<?> wrapper)
Method Summary
Methods Modifier and Type Method and Description protected org.springframework.cglib.core.ClassGenerator
transform(org.springframework.cglib.core.ClassGenerator cg)
Methods inherited from class org.springframework.cglib.core.DefaultGeneratorStrategy
generate, getClassVisitor, getClassWriter, transform
-
Constructor Detail
MemorySafeUndeclaredThrowableStrategy
public MemorySafeUndeclaredThrowableStrategy(Class<?> wrapper)