-
Notifications
You must be signed in to change notification settings - Fork 474
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support calling required super() in expression compiler generated code
- Loading branch information
Showing
4 changed files
with
63 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
...e/src/testFixtures/java/software/coley/recaf/test/dummy/ClassWithRequiredConstructor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package software.coley.recaf.test.dummy; | ||
|
||
import jakarta.annotation.Nonnull; | ||
import software.coley.collections.delegate.DelegatingSortedSet; | ||
|
||
import java.util.SortedSet; | ||
|
||
/** | ||
* Dummy class which has a constructor it must implement from its parent type. | ||
*/ | ||
public class ClassWithRequiredConstructor extends DelegatingSortedSet<Object> { | ||
public ClassWithRequiredConstructor(@Nonnull SortedSet<Object> delegate) { | ||
super(delegate); | ||
} | ||
} |