Package io.airlift.bytecode.instruction
Class FieldInstruction
java.lang.Object
io.airlift.bytecode.instruction.FieldInstruction
- All Implemented Interfaces:
BytecodeNode,InstructionNode
- Direct Known Subclasses:
FieldInstruction.GetFieldInstruction,FieldInstruction.PutFieldInstruction
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(BytecodeNode parent, BytecodeVisitor<T> visitor) voidaccept(org.objectweb.asm.MethodVisitor visitor, MethodGenerationContext generationContext) static FieldInstructiongetFieldInstruction(ParameterizedType classType, String fieldName, ParameterizedType fieldType) static FieldInstructiongetFieldInstruction(Class<?> classType, String fieldName, Class<?> fieldType) static FieldInstructiongetFieldInstruction(Field field) static FieldInstructiongetStaticInstruction(ParameterizedType classType, String fieldName, ParameterizedType fieldType) static FieldInstructiongetStaticInstruction(Class<?> classType, String fieldName, Class<?> fieldType) static FieldInstructionputFieldInstruction(ParameterizedType classType, String fieldName, ParameterizedType fieldType) static FieldInstructionputFieldInstruction(Class<?> classType, String fieldName, Class<?> fieldType) static FieldInstructionputFieldInstruction(Field field) static FieldInstructionputStaticInstruction(ParameterizedType classType, String fieldName, ParameterizedType fieldType) static FieldInstructionputStaticInstruction(Class<?> classType, String fieldName, Class<?> fieldType) toString()
-
Method Details
-
getFieldInstruction
-
putFieldInstruction
-
getFieldInstruction
public static FieldInstruction getFieldInstruction(ParameterizedType classType, String fieldName, ParameterizedType fieldType) -
getFieldInstruction
public static FieldInstruction getFieldInstruction(Class<?> classType, String fieldName, Class<?> fieldType) -
putFieldInstruction
public static FieldInstruction putFieldInstruction(ParameterizedType classType, String fieldName, ParameterizedType fieldType) -
putFieldInstruction
public static FieldInstruction putFieldInstruction(Class<?> classType, String fieldName, Class<?> fieldType) -
getStaticInstruction
public static FieldInstruction getStaticInstruction(ParameterizedType classType, String fieldName, ParameterizedType fieldType) -
getStaticInstruction
public static FieldInstruction getStaticInstruction(Class<?> classType, String fieldName, Class<?> fieldType) -
putStaticInstruction
public static FieldInstruction putStaticInstruction(ParameterizedType classType, String fieldName, ParameterizedType fieldType) -
putStaticInstruction
public static FieldInstruction putStaticInstruction(Class<?> classType, String fieldName, Class<?> fieldType) -
accept
public void accept(org.objectweb.asm.MethodVisitor visitor, MethodGenerationContext generationContext) - Specified by:
acceptin interfaceBytecodeNode
-
getChildNodes
- Specified by:
getChildNodesin interfaceBytecodeNode
-
accept
- Specified by:
acceptin interfaceBytecodeNode
-
toString
-