Class BytecodeLabel
java.lang.Object
org.eolang.jeo.representation.bytecode.BytecodeLabel
- All Implemented Interfaces:
BytecodeEntry,Testable
Mark label instruction.
- Since:
- 0.1
-
Constructor Summary
ConstructorsConstructorDescriptionBytecodeLabel(byte[] uid) Constructor.BytecodeLabel(String identifier) Constructor.BytecodeLabel(String identifier, AllLabels labels) Constructor.BytecodeLabel(org.objectweb.asm.Label label, AllLabels labels) Constructor. -
Method Summary
-
Constructor Details
-
BytecodeLabel
public BytecodeLabel(byte[] uid) Constructor.- Parameters:
uid- Label identifier.
-
BytecodeLabel
Constructor.- Parameters:
identifier- Label identifier.
-
BytecodeLabel
Constructor.- Parameters:
identifier- Label identifier.labels- All labels.
-
BytecodeLabel
Constructor.- Parameters:
label- Label.labels- All labels.
-
-
Method Details
-
writeTo
public void writeTo(org.objectweb.asm.MethodVisitor visitor) Description copied from interface:BytecodeEntryWrite instruction to the method visitor.- Specified by:
writeToin interfaceBytecodeEntry- Parameters:
visitor- Method visitor.
-
directives
- Specified by:
directivesin interfaceBytecodeEntry
-
isLabel
public boolean isLabel()- Specified by:
isLabelin interfaceBytecodeEntry
-
isOpcode
public boolean isOpcode()- Specified by:
isOpcodein interfaceBytecodeEntry
-
impact
public int impact()- Specified by:
impactin interfaceBytecodeEntry
-
testCode
Description copied from interface:TestableGenerate test Java code.
-