Class MemberRef.Method
- java.lang.Object
-
- org.spongepowered.asm.mixin.struct.MemberRef
-
- org.spongepowered.asm.mixin.struct.MemberRef.Method
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.spongepowered.asm.mixin.struct.MemberRef
MemberRef.Field, MemberRef.Handle, MemberRef.Method
-
-
Field Summary
Fields Modifier and Type Field Description org.objectweb.asm.tree.MethodInsnNodeinsnMethod invocation instruction
-
Constructor Summary
Constructors Constructor Description Method(org.objectweb.asm.tree.MethodInsnNode insn)ctor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDesc()Descriptor of this member.java.lang.StringgetName()Name of this member.intgetOpcode()The opcode of the invocation.java.lang.StringgetOwner()The internal name for the owner of this member.booleanisField()Whether this member is a field.voidsetDesc(java.lang.String desc)Changes the descriptor of this membervoidsetName(java.lang.String name)Rename this member.voidsetOpcode(int opcode)Set the opcode of the invocation.voidsetOwner(java.lang.String owner)Changes the owner of this-
Methods inherited from class org.spongepowered.asm.mixin.struct.MemberRef
equals, hashCode, ownerIsMixin, toString
-
-
-
-
Method Detail
-
isField
public boolean isField()
Description copied from class:MemberRefWhether this member is a field.
-
getOpcode
public int getOpcode()
Description copied from class:MemberRefThe opcode of the invocation.
-
setOpcode
public void setOpcode(int opcode)
Description copied from class:MemberRefSet the opcode of the invocation.
-
getOwner
public java.lang.String getOwner()
Description copied from class:MemberRefThe internal name for the owner of this member.
-
setOwner
public void setOwner(java.lang.String owner)
Description copied from class:MemberRefChanges the owner of this
-
getName
public java.lang.String getName()
Description copied from class:MemberRefName of this member.
-
setName
public void setName(java.lang.String name)
Description copied from class:MemberRefRename this member.
-
getDesc
public java.lang.String getDesc()
Description copied from class:MemberRefDescriptor of this member.
-
-