mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 06:17:44 +00:00
[java8] Support in delombok for default methods in interfaces
This commit is contained in:
1 parent
c7bfba873e
commit
e890428077
3 files changed
+23
-1
No files matched your search
@@ -0,0 +1,11 @@
|
||||
// version 8:
|
||||
interface DefaultMethod {
|
||||
int size();
|
||||
|
||||
default boolean isEmpty() {
|
||||
return size() == 0;
|
||||
}
|
||||
|
||||
default strictfp void run() {
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user