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
public abstract class FieldInstruction extends Object implements InstructionNode
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFieldInstruction.GetFieldInstructionstatic classFieldInstruction.PutFieldInstruction
-
Method Summary
-
-
-
Method Detail
-
getFieldInstruction
public static FieldInstruction getFieldInstruction(Field field)
-
putFieldInstruction
public static FieldInstruction putFieldInstruction(Field field)
-
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
public List<BytecodeNode> getChildNodes()
- Specified by:
getChildNodesin interfaceBytecodeNode
-
accept
public <T> T accept(BytecodeNode parent, BytecodeVisitor<T> visitor)
- Specified by:
acceptin interfaceBytecodeNode
-
-