APIdia Launch Partner
Top Fields Constructors Methods
jdk.internal.classfile.impl

public final Class CodeLocalsShifterImpl

extends Object
implements CodeLocalsShifter
Class Inheritance
All Implemented Interfaces
jdk.internal.classfile.components.CodeLocalsShifter, java.lang.classfile.CodeTransform, java.lang.classfile.ClassFileTransform
Imports
java.lang.classfile.CodeBuilder, .CodeElement, .Signature, .TypeKind, jdk.internal.classfile.components.CodeLocalsShifter, java.lang.classfile.instruction.IncrementInstruction, .LoadInstruction, .LocalVariable, .LocalVariableType, .StoreInstruction, java.util.Arrays

Field Summary

Modifier and TypeField and Description
private final int
private int[]

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
accept(CodeBuilder cob, CodeElement coe)

Implements java.lang.classfile.ClassFileTransform.accept.

Transform an element by taking the appropriate actions on the builder.

private int
shift(CodeBuilder cob, int slot, TypeKind tk)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

fixedback to summary
private final int fixed
localsback to summary
private int[] locals

Constructor Detail

CodeLocalsShifterImplback to summary
public CodeLocalsShifterImpl(int fixed)

Method Detail

acceptback to summary
public void accept(CodeBuilder cob, CodeElement coe)

Implements java.lang.classfile.ClassFileTransform.accept.

Doc from java.lang.classfile.ClassFileTransform.accept.

Transform 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 to B#with(ClassFileElement). If the element is to be dropped, no action is required.

This method is called by the Class-File API. Users should never call this method.

Annotations
@Override
shiftback to summary
private int shift(CodeBuilder cob, int slot, TypeKind tk)