Skip to content
This repository was archived by the owner on Feb 17, 2022. It is now read-only.

Commit e98a48d

Browse files
committed
Refactor instructions
1 parent 8f7e90e commit e98a48d

File tree

5 files changed

+637
-361
lines changed

5 files changed

+637
-361
lines changed

src/main/java/io/github/seggan/javaclasslib/attributes/code/instructions/CPInstruction.java

Lines changed: 0 additions & 148 deletions
This file was deleted.

src/main/java/io/github/seggan/javaclasslib/attributes/code/instructions/JvmInstruction.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,7 @@ protected JvmInstruction(int instructionByte) {
1111
public byte getInstructionByte() {
1212
return instructionByte;
1313
}
14+
public byte[] getInstructionBytes() {
15+
return new byte[]{instructionByte};
16+
}
1417
}

0 commit comments

Comments
 (0)