mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 18:15:59 +00:00
[issue #2369] [reproduction-test] inner types not detected as static if in interface/enum.
This commit is contained in:
3 files changed
+32
No files matched your search
@@ -0,0 +1,13 @@
|
||||
public interface WithNested<Z> {
|
||||
class IAmStaticReally {
|
||||
final String x;
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public IAmStaticReally(final String x) {
|
||||
this.x = x;
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public WithNested.IAmStaticReally withX(final String x) {
|
||||
return this.x == x ? this : new WithNested.IAmStaticReally(x);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user