-
-
Notifications
You must be signed in to change notification settings - Fork 355
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug(*): fix method resolution for inner interfaces
This fixes the method CtType#getAllExecutables and handles inner now interfaces correctly as implicitly static. Co-authored-by: I-Al-Istannen <i-al-istannen@users.noreply.github.com>
- Loading branch information
1 parent
5f2e4f5
commit 86615d5
Showing
4 changed files
with
37 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package extendsStaticInnerType; | ||
|
||
public class BarBaz implements FooBar.Crashy { | ||
|
||
@Override | ||
public String foo() { | ||
return "bar!"; | ||
} | ||
|
||
} |
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,9 @@ | ||
package extendsStaticInnerType; | ||
|
||
public class FooBar { | ||
|
||
public interface Crashy { | ||
|
||
String foo(); | ||
} | ||
} |