mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-18 00:15:24 +00:00
[fixes #562] Support inlining in eclipse
This commit is contained in:
1 parent
6fbe057fb9
commit
3c80b44d9b
8 files changed
+150
-2
No files matched your search
@@ -0,0 +1,16 @@
|
||||
package pkg;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
@Getter
|
||||
public class InlineGetter {
|
||||
private String string;
|
||||
|
||||
public String asReturn() {
|
||||
return getString();
|
||||
}
|
||||
|
||||
public void asAssignment() {
|
||||
String a = getString();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user