Skip to content

Commit

Permalink
feat(objectionary#344): temporary solution with super and constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
volodya-lombrozo committed Aug 1, 2024
1 parent 970c0b7 commit 2afe901
Showing 1 changed file with 9 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,18 +63,17 @@ public void handle(final DecompilerState state) {
state.stack().push(
new Super(target, args, descriptor, type, name)
);
} else
// if ("<init>".equals(name) || "new".equals(name))
{
} else {
// state.stack().push(
// new Constructor(
// target,
// new Attributes().descriptor(descriptor).interfaced(interfaced),
// args
// )
// );
state.stack().push(
new Constructor(
target,
new Attributes().descriptor(descriptor).interfaced(interfaced),
args
)
new Super(target, args, descriptor, type, name)
);
// } else {
// state.stack().push(new Invocation(target, name, args, descriptor));
}
}

Expand Down

0 comments on commit 2afe901

Please sign in to comment.