mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 18:15:59 +00:00
[fixes #3081] make CheckerFramework's This a type annotation
This commit is contained in:
1 parent
9be867ef03
commit
ae8ff327d2
19 files changed
+100
-129
No files matched your search
@@ -1,3 +1,4 @@
|
||||
// skip-idempotent
|
||||
//version 8:
|
||||
class CheckerFrameworkBasic {
|
||||
private final int x;
|
||||
@@ -21,9 +22,8 @@ class CheckerFrameworkBasic {
|
||||
/**
|
||||
* @return {@code this}.
|
||||
*/
|
||||
@org.checkerframework.common.returnsreceiver.qual.This
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public CheckerFrameworkBasic setZ(final int z) {
|
||||
public @org.checkerframework.common.returnsreceiver.qual.This CheckerFrameworkBasic setZ(final int z) {
|
||||
this.z = z;
|
||||
return this;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user