Class InsnListEx
java.lang.Object
org.objectweb.asm.tree.InsnList
org.spongepowered.asm.mixin.injection.code.InsnListReadOnly
org.spongepowered.asm.mixin.injection.code.InsnListEx
- All Implemented Interfaces:
Iterable<org.objectweb.asm.tree.AbstractInsnNode>,IInsnListEx
InsnList with extensions, see
IInsnListEx-
Nested Class Summary
Nested classes/interfaces inherited from interface org.spongepowered.asm.mixin.injection.code.IInsnListEx
IInsnListEx.SpecialNodeType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.objectweb.asm.tree.AbstractInsnNodeGet - if available - the specified special node from the target.intGet the access flags from the target methodGet the descriptor of the target methodGet the name of the target methodGet the signature of the target methodbooleanGet whether the target method is a constructorbooleanGet whether the target method is staticbooleanGet whether the target method is a static initialisertoString()Methods inherited from class org.spongepowered.asm.mixin.injection.code.InsnListReadOnly
add, add, contains, get, getFirst, getLast, indexOf, insert, insert, insert, insert, insertBefore, insertBefore, iterator, iterator, remove, resetLabels, set, size, toArrayMethods inherited from class org.objectweb.asm.tree.InsnList
accept, clearMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
InsnListEx
-
-
Method Details
-
toString
-
getTargetName
Description copied from interface:IInsnListExGet the name of the target method- Specified by:
getTargetNamein interfaceIInsnListEx
-
getTargetDesc
Description copied from interface:IInsnListExGet the descriptor of the target method- Specified by:
getTargetDescin interfaceIInsnListEx
-
getTargetSignature
Description copied from interface:IInsnListExGet the signature of the target method- Specified by:
getTargetSignaturein interfaceIInsnListEx
-
getTargetAccess
public int getTargetAccess()Description copied from interface:IInsnListExGet the access flags from the target method- Specified by:
getTargetAccessin interfaceIInsnListEx
-
isTargetStatic
public boolean isTargetStatic()Description copied from interface:IInsnListExGet whether the target method is static- Specified by:
isTargetStaticin interfaceIInsnListEx
-
isTargetConstructor
public boolean isTargetConstructor()Description copied from interface:IInsnListExGet whether the target method is a constructor- Specified by:
isTargetConstructorin interfaceIInsnListEx
-
isTargetStaticInitialiser
public boolean isTargetStaticInitialiser()Description copied from interface:IInsnListExGet whether the target method is a static initialiser- Specified by:
isTargetStaticInitialiserin interfaceIInsnListEx
-
getSpecialNode
Description copied from interface:IInsnListExGet - if available - the specified special node from the target. The returned node is not guaranteed to be non-null.- Specified by:
getSpecialNodein interfaceIInsnListEx- Parameters:
type- type of special node to fetch- Returns:
- the special node or null if not available
-