Package xyz.cofe.trambda.bc.mth
Class MMethodInsn
- java.lang.Object
-
- xyz.cofe.trambda.bc.mth.MAbstractBC
-
- xyz.cofe.trambda.bc.mth.MMethodInsn
-
- All Implemented Interfaces:
Serializable,xyz.cofe.collection.ImTree<ByteCode>,xyz.cofe.collection.ImTreeWalk<ByteCode>,ByteCode,MethodByteCode,MethodWriter
public class MMethodInsn extends MAbstractBC implements MethodWriter
the opcode of the type instruction to be visited. This opcode is either INVOKEVIRTUAL, INVOKESPECIAL, INVOKESTATIC or INVOKEINTERFACE.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MMethodInsn()MMethodInsn(int op, String owner, String name, String descriptor, boolean iface)MMethodInsn(MMethodInsn sample)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MMethodInsnclone()StringgetDescriptor()StringgetName()intgetOpcode()StringgetOwner()booleanisIface()voidsetDescriptor(String descriptor)voidsetIface(boolean iface)voidsetName(String name)voidsetOpcode(int opcode)voidsetOwner(String owner)StringtoString()voidwrite(org.objectweb.asm.MethodVisitor v, MethodWriterCtx ctx)
-
-
-
Constructor Detail
-
MMethodInsn
public MMethodInsn()
-
MMethodInsn
public MMethodInsn(int op, String owner, String name, String descriptor, boolean iface)
-
MMethodInsn
public MMethodInsn(MMethodInsn sample)
-
-
Method Detail
-
clone
public MMethodInsn clone()
- Specified by:
clonein interfaceMethodByteCode- Specified by:
clonein classMAbstractBC
-
getOpcode
public int getOpcode()
-
setOpcode
public void setOpcode(int opcode)
-
getOwner
public String getOwner()
-
setOwner
public void setOwner(String owner)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getDescriptor
public String getDescriptor()
-
setDescriptor
public void setDescriptor(String descriptor)
-
isIface
public boolean isIface()
-
setIface
public void setIface(boolean iface)
-
write
public void write(org.objectweb.asm.MethodVisitor v, MethodWriterCtx ctx)- Specified by:
writein interfaceMethodWriter
-
-