Package org.spongepowered.asm.util
Class Bytecode.DelegateInitialiser
java.lang.Object
org.spongepowered.asm.util.Bytecode.DelegateInitialiser
- Enclosing class:
- Bytecode
public static class Bytecode.DelegateInitialiser
extends java.lang.Object
Information bundle returned from
Bytecode.findDelegateInit(org.objectweb.asm.tree.MethodNode, java.lang.String, java.lang.String)-
Field Summary
Fields Modifier and Type Field Description org.objectweb.asm.tree.MethodInsnNodeinsnConstructor invocationbooleanisPresentTrue if the invocation is found, false if no delegate constructor was found (false for DelegateInitialiser.NONE)booleanisSuperTrue if the invocation is a super call, false if it's a call to another ctor in the same classstatic Bytecode.DelegateInitialiserNONENo delegate initialiser found -
Method Summary
Modifier and Type Method Description java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
NONE
No delegate initialiser found -
insn
public final org.objectweb.asm.tree.MethodInsnNode insnConstructor invocation -
isSuper
public final boolean isSuperTrue if the invocation is a super call, false if it's a call to another ctor in the same class -
isPresent
public final boolean isPresentTrue if the invocation is found, false if no delegate constructor was found (false for DelegateInitialiser.NONE)
-
-
Method Details
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-