Class MemberRef.Field
java.lang.Object
org.spongepowered.asm.mixin.struct.MemberRef
org.spongepowered.asm.mixin.struct.MemberRef.Field
- Enclosing class:
MemberRef
A static reference to a field backed by field get/put instruction
-
Nested Class Summary
Nested classes/interfaces inherited from class org.spongepowered.asm.mixin.struct.MemberRef
MemberRef.Field, MemberRef.Handle, MemberRef.Method -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal org.objectweb.asm.tree.FieldInsnNodeField accessor instruction -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDesc()Descriptor of this member.getName()Name of this member.intThe opcode of the invocation.getOwner()The internal name for the owner of this member.booleanisField()Whether this member is a field.voidChanges the descriptor of this membervoidRename this member.voidsetOpcode(int opcode) Set the opcode of the invocation.voidChanges the owner of thisMethods inherited from class org.spongepowered.asm.mixin.struct.MemberRef
equals, hashCode, ownerIsMixin, toString
-
Field Details
-
insn
public final org.objectweb.asm.tree.FieldInsnNode insnField accessor instruction
-
-
Constructor Details
-
Field
public Field(org.objectweb.asm.tree.FieldInsnNode insn) ctor- Parameters:
insn- Field instruction this member reference
-
-
Method Details
-
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
Description copied from class:MemberRefThe internal name for the owner of this member. -
setOwner
Description copied from class:MemberRefChanges the owner of this -
getName
Description copied from class:MemberRefName of this member. -
setName
Description copied from class:MemberRefRename this member. -
getDesc
Description copied from class:MemberRefDescriptor of this member. -
setDesc
Description copied from class:MemberRefChanges the descriptor of this member
-