mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 14:16:39 +00:00
Hide generated nodes from FoldingVisitor
This commit is contained in:
1 parent
21e0ebf082
commit
4a0f85674e
9 files changed
+275
-2
No files matched your search
@@ -0,0 +1,21 @@
|
||||
package pkg;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import lombok.NonNull;
|
||||
|
||||
public class NonNullFolding {
|
||||
public void method(@NonNull List<String> a) {
|
||||
if (a.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
} catch (Exception e) {
|
||||
|
||||
} finally {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user