mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 04:16:19 +00:00
New tests
This commit is contained in:
1 parent
6d9bc68469
commit
311b667dfd
4 files changed
+34
No files matched your search
@@ -0,0 +1,9 @@
|
||||
import java.util.Arrays;
|
||||
public class ForEach {
|
||||
{
|
||||
for (int i : Arrays.asList(1, 2, 3)) {
|
||||
System.out.println(i);
|
||||
// Do something
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
import java.util.Arrays;
|
||||
public class ForEach {
|
||||
{
|
||||
for (int i : Arrays.asList(1, 2, 3)) {
|
||||
System.out.println(i);
|
||||
// Do something
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
class Getter {
|
||||
int i;
|
||||
int foo;
|
||||
public int getI() {
|
||||
return i;
|
||||
}
|
||||
public int getFoo() {
|
||||
return foo;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
import lombok.Getter;
|
||||
|
||||
class Getter {
|
||||
@Getter int i;
|
||||
@lombok.Getter int foo;
|
||||
}
|
||||
Reference in new issue
Block a user