Skip to content

Commit

Permalink
#437 - CR
Browse files Browse the repository at this point in the history
  • Loading branch information
HDouss committed Apr 29, 2020
1 parent 5d51f63 commit 8419fb6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/org/jpeek/skeleton/OpsOf.java
Original file line number Diff line number Diff line change
Expand Up @@ -91,16 +91,16 @@ public void visitMethodInsn(final int opcode,
final String owner, final String mtd,
final String dsc, final boolean itf) {
super.visitMethodInsn(opcode, owner, mtd, dsc, itf);
final Iterable<Text> args = new Split(
new Sub(dsc, dsc.indexOf('(') + 1, dsc.indexOf(')')),
";"
);
this.target.strict(1).addIf("ops").add("op");
this.target
.attr("code", "call")
.add("name")
.set(owner.replace("/", ".").concat(".").concat(mtd))
.up().add("args");
final Iterable<Text> args = new Split(
new Sub(dsc, dsc.indexOf('(') + 1, dsc.indexOf(')')),
";"
);
for (final Text arg : args) {
this.target.add("arg").attr("type", arg).set("?").up();
}
Expand Down

0 comments on commit 8419fb6

Please sign in to comment.