public interface IInsnListEx
InjectionPoint.find(java.lang.String, org.objectweb.asm.tree.InsnList, java.util.Collection<org.objectweb.asm.tree.AbstractInsnNode>) without breaking
backward compatibility.| Modifier and Type | Interface and Description |
|---|---|
static class |
IInsnListEx.SpecialNodeType
Type of special nodes supported by
getSpecialNode(org.spongepowered.asm.mixin.injection.code.IInsnListEx.SpecialNodeType) |
| Modifier and Type | Method and Description |
|---|---|
<V> V |
getDecoration(java.lang.String key)
Get the specified decoration
|
<V> V |
getDecoration(java.lang.String key,
V defaultValue)
Get the specified decoration or default value
|
org.objectweb.asm.tree.AbstractInsnNode |
getSpecialNode(IInsnListEx.SpecialNodeType type)
Get - if available - the specified special node from the target.
|
int |
getTargetAccess()
Get the access flags from the target method
|
java.lang.String |
getTargetDesc()
Get the descriptor of the target method
|
java.lang.String |
getTargetName()
Get the name of the target method
|
java.lang.String |
getTargetSignature()
Get the signature of the target method
|
boolean |
hasDecoration(java.lang.String key)
Get whether this list is decorated with the specified key
|
boolean |
isTargetConstructor()
Get whether the target method is a constructor
|
boolean |
isTargetStatic()
Get whether the target method is static
|
boolean |
isTargetStaticInitialiser()
Get whether the target method is a static initialiser
|
java.lang.String getTargetName()
java.lang.String getTargetDesc()
java.lang.String getTargetSignature()
int getTargetAccess()
boolean isTargetStatic()
boolean isTargetConstructor()
boolean isTargetStaticInitialiser()
org.objectweb.asm.tree.AbstractInsnNode getSpecialNode(IInsnListEx.SpecialNodeType type)
type - type of special node to fetchboolean hasDecoration(java.lang.String key)
key - meta key<V> V getDecoration(java.lang.String key)
V - value typekey - meta key<V> V getDecoration(java.lang.String key,
V defaultValue)
V - value typekey - meta keydefaultValue - default value to return