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 of UndeclaredThrowableStrategy 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
    • Field Summary

      • Fields inherited from class org.springframework.cglib.core.DefaultGeneratorStrategy

        INSTANCE
    • 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
      • Methods inherited from interface org.springframework.cglib.core.GeneratorStrategy

        equals
    • Constructor Detail

      • MemorySafeUndeclaredThrowableStrategy

        public MemorySafeUndeclaredThrowableStrategy(Class<?> wrapper)
    • Method Detail

      • transform

        protected org.springframework.cglib.core.ClassGenerator transform(org.springframework.cglib.core.ClassGenerator cg)
                                                                   throws Exception
        Overrides:
        transform in class  org.springframework.cglib.core.DefaultGeneratorStrategy
        Throws:
        Exception