public class TypeInstruction extends Object implements InstructionNode
| Constructor and Description |
|---|
TypeInstruction(OpCode opCode,
ParameterizedType type) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(BytecodeNode parent,
BytecodeVisitor<T> visitor) |
void |
accept(org.objectweb.asm.MethodVisitor visitor,
MethodGenerationContext generationContext) |
static InstructionNode |
cast(Class<?> type) |
static InstructionNode |
cast(ParameterizedType type) |
List<BytecodeNode> |
getChildNodes() |
static InstructionNode |
instanceOf(Class<?> type) |
static InstructionNode |
instanceOf(ParameterizedType type) |
static InstructionNode |
newObject(Class<?> type) |
static InstructionNode |
newObject(ParameterizedType type) |
static InstructionNode |
newObjectArray(Class<?> type) |
static InstructionNode |
newObjectArray(ParameterizedType type) |
static InstructionNode |
newPrimitiveArray(ParameterizedType type) |
String |
toString() |
public TypeInstruction(OpCode opCode, ParameterizedType type)
public static InstructionNode newObject(Class<?> type)
public static InstructionNode newObject(ParameterizedType type)
public static InstructionNode newPrimitiveArray(ParameterizedType type)
public static InstructionNode newObjectArray(Class<?> type)
public static InstructionNode newObjectArray(ParameterizedType type)
public static InstructionNode instanceOf(Class<?> type)
public static InstructionNode instanceOf(ParameterizedType type)
public static InstructionNode cast(Class<?> type)
public static InstructionNode cast(ParameterizedType type)
public void accept(org.objectweb.asm.MethodVisitor visitor,
MethodGenerationContext generationContext)
accept in interface BytecodeNodepublic List<BytecodeNode> getChildNodes()
getChildNodes in interface BytecodeNodepublic <T> T accept(BytecodeNode parent, BytecodeVisitor<T> visitor)
accept in interface BytecodeNodeCopyright © 2012–2023. All rights reserved.