Module org.glavo.classfile
Package org.glavo.classfile.impl
Class AbstractInstruction.UnboundInvokeInstruction
java.lang.Object
org.glavo.classfile.impl.AbstractElement
org.glavo.classfile.impl.AbstractInstruction
org.glavo.classfile.impl.AbstractInstruction.UnboundInstruction
org.glavo.classfile.impl.AbstractInstruction.UnboundInvokeInstruction
- All Implemented Interfaces:
ClassfileElement,CodeElement,Instruction,InvokeInstruction
- Enclosing class:
AbstractInstruction
public static final class AbstractInstruction.UnboundInvokeInstruction
extends AbstractInstruction.UnboundInstruction
implements InvokeInstruction
-
Nested Class Summary
Nested classes/interfaces inherited from class org.glavo.classfile.impl.AbstractInstruction
AbstractInstruction.BoundArgumentConstantInstruction, AbstractInstruction.BoundBranchInstruction, AbstractInstruction.BoundFieldInstruction, AbstractInstruction.BoundIncrementInstruction, AbstractInstruction.BoundInstruction, AbstractInstruction.BoundInvokeDynamicInstruction, AbstractInstruction.BoundInvokeInstruction, AbstractInstruction.BoundInvokeInterfaceInstruction, AbstractInstruction.BoundLoadConstantInstruction, AbstractInstruction.BoundLoadInstruction, AbstractInstruction.BoundLookupSwitchInstruction, AbstractInstruction.BoundNewMultidimensionalArrayInstruction, AbstractInstruction.BoundNewObjectInstruction, AbstractInstruction.BoundNewPrimitiveArrayInstruction, AbstractInstruction.BoundNewReferenceArrayInstruction, AbstractInstruction.BoundStoreInstruction, AbstractInstruction.BoundTableSwitchInstruction, AbstractInstruction.BoundTypeCheckInstruction, AbstractInstruction.SwitchCaseImpl, AbstractInstruction.UnboundArgumentConstantInstruction, AbstractInstruction.UnboundArrayLoadInstruction, AbstractInstruction.UnboundArrayStoreInstruction, AbstractInstruction.UnboundBranchInstruction, AbstractInstruction.UnboundConvertInstruction, AbstractInstruction.UnboundFieldInstruction, AbstractInstruction.UnboundIncrementInstruction, AbstractInstruction.UnboundInstruction, AbstractInstruction.UnboundIntrinsicConstantInstruction, AbstractInstruction.UnboundInvokeDynamicInstruction, AbstractInstruction.UnboundInvokeInstruction, AbstractInstruction.UnboundLoadConstantInstruction, AbstractInstruction.UnboundLoadInstruction, AbstractInstruction.UnboundLookupSwitchInstruction, AbstractInstruction.UnboundMonitorInstruction, AbstractInstruction.UnboundNewMultidimensionalArrayInstruction, AbstractInstruction.UnboundNewObjectInstruction, AbstractInstruction.UnboundNewPrimitiveArrayInstruction, AbstractInstruction.UnboundNewReferenceArrayInstruction, AbstractInstruction.UnboundNopInstruction, AbstractInstruction.UnboundOperatorInstruction, AbstractInstruction.UnboundReturnInstruction, AbstractInstruction.UnboundStackInstruction, AbstractInstruction.UnboundStoreInstruction, AbstractInstruction.UnboundTableSwitchInstruction, AbstractInstruction.UnboundThrowInstruction, AbstractInstruction.UnboundTypeCheckInstruction -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcount()booleanReturns whether the class holding the method is an interface.method()Returns theMethodRefEntryorInterfaceMethodRefEntryconstant described by this instruction.toString()voidwriteTo(DirectCodeBuilder writer) Methods inherited from class org.glavo.classfile.impl.AbstractInstruction
opcode, sizeInBytesMethods inherited from class org.glavo.classfile.impl.AbstractElement
writeTo, writeTo, writeToMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.glavo.classfile.Instruction
opcode, sizeInBytesMethods inherited from interface org.glavo.classfile.instruction.InvokeInstruction
name, owner, type, typeSymbol
-
Constructor Details
-
UnboundInvokeInstruction
-
-
Method Details
-
method
Description copied from interface:InvokeInstructionReturns theMethodRefEntryorInterfaceMethodRefEntryconstant described by this instruction.- Specified by:
methodin interfaceInvokeInstruction- Returns:
- the
MethodRefEntryorInterfaceMethodRefEntryconstant described by this instruction
-
isInterface
public boolean isInterface()Description copied from interface:InvokeInstructionReturns whether the class holding the method is an interface.- Specified by:
isInterfacein interfaceInvokeInstruction- Returns:
- whether the class holding the method is an interface
-
count
public int count()- Specified by:
countin interfaceInvokeInstruction- Returns:
- for an
invokeinterface, thecountvalue, as defined in
-
writeTo
- Overrides:
writeToin classAbstractInstruction.UnboundInstruction
-
toString
- Overrides:
toStringin classAbstractInstruction.UnboundInstruction
-