Module org.glavo.classfile
Package org.glavo.classfile.components
Class CodeLocalsShifter.CodeLocalsShifterImpl
java.lang.Object
org.glavo.classfile.components.CodeLocalsShifter.CodeLocalsShifterImpl
- All Implemented Interfaces:
ClassfileTransform<CodeTransform,,CodeElement, CodeBuilder> CodeTransform,CodeLocalsShifter
- Enclosing interface:
CodeLocalsShifter
public static final class CodeLocalsShifter.CodeLocalsShifterImpl
extends Object
implements CodeLocalsShifter
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.glavo.classfile.ClassfileTransform
ClassfileTransform.ResolvedTransform<E extends ClassfileElement>Nested classes/interfaces inherited from interface org.glavo.classfile.components.CodeLocalsShifter
CodeLocalsShifter.CodeLocalsShifterImpl -
Field Summary
Fields inherited from interface org.glavo.classfile.CodeTransform
ACCEPT_ALL -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(CodeBuilder cob, CodeElement coe) Transform an element by taking the appropriate actions on the builder.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.glavo.classfile.ClassfileTransform
atEnd, atStartMethods inherited from interface org.glavo.classfile.CodeTransform
andThen, resolve
-
Method Details
-
accept
Description copied from interface:ClassfileTransformTransform an element by taking the appropriate actions on the builder. Used when transforming a classfile entity (class, method, field, method body.) If no transformation is desired, the element can be presented toClassfileBuilder.with(ClassfileElement). If the element is to be dropped, no action is required.- Specified by:
acceptin interfaceClassfileTransform<CodeTransform,CodeElement, CodeBuilder> - Parameters:
cob- the builder for the new entitycoe- the element
-