mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 02:17:12 +00:00
Rename class in test file
This commit is contained in:
1 parent
4597e069dc
commit
afb1fb8888
4 files changed
+10
-10
No files matched your search
@@ -1220,7 +1220,9 @@ public class JavacHandlerUtil {
|
||||
|
||||
/**
|
||||
* Generates a new statement that checks if the given variable is null, and if so, throws a configured exception with the
|
||||
* variable name as message. This is a special case method reserved for use when the provided declaration differs from the
|
||||
* variable name as message.
|
||||
*
|
||||
* This is a special case method reserved for use when the provided declaration differs from the
|
||||
* variable's declaration, i.e. in a constructor or setter where the local parameter is named the same but with the prefix
|
||||
* stripped as a result of @Accessors.prefix.
|
||||
*/
|
||||
|
||||
@@ -15,7 +15,7 @@ class ConstructorsWithAccessors {
|
||||
}
|
||||
}
|
||||
|
||||
class NonNullConstructorsWithAccessors {
|
||||
class ConstructorsWithAccessorsNonNull {
|
||||
@lombok.NonNull
|
||||
Integer plower;
|
||||
@lombok.NonNull
|
||||
@@ -28,7 +28,7 @@ class NonNullConstructorsWithAccessors {
|
||||
@java.beans.ConstructorProperties({"plower", "upper", "huh", "_huh2"})
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
public NonNullConstructorsWithAccessors(@lombok.NonNull final Integer plower, @lombok.NonNull final Integer upper, @lombok.NonNull final Integer huh, @lombok.NonNull final Integer _huh2) {
|
||||
public ConstructorsWithAccessorsNonNull(@lombok.NonNull final Integer plower, @lombok.NonNull final Integer upper, @lombok.NonNull final Integer huh, @lombok.NonNull final Integer _huh2) {
|
||||
if (plower == null) {
|
||||
throw new java.lang.NullPointerException("plower");
|
||||
}
|
||||
@@ -46,5 +46,4 @@ class NonNullConstructorsWithAccessors {
|
||||
this._huh = huh;
|
||||
this.__huh2 = _huh2;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -11,12 +11,12 @@
|
||||
this.__huh2 = _huh2;
|
||||
}
|
||||
}
|
||||
@lombok.AllArgsConstructor @lombok.experimental.Accessors(prefix = {"p", "_"}) class NonNullConstructorsWithAccessors {
|
||||
@lombok.AllArgsConstructor @lombok.experimental.Accessors(prefix = {"p", "_"}) class ConstructorsWithAccessorsNonNull {
|
||||
@lombok.NonNull Integer plower;
|
||||
@lombok.NonNull Integer pUpper;
|
||||
@lombok.NonNull Integer _huh;
|
||||
final @lombok.NonNull Integer __huh2;
|
||||
public @java.beans.ConstructorProperties({"plower", "upper", "huh", "_huh2"}) @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") NonNullConstructorsWithAccessors(final @lombok.NonNull Integer plower, final @lombok.NonNull Integer upper, final @lombok.NonNull Integer huh, final @lombok.NonNull Integer _huh2) {
|
||||
public @java.beans.ConstructorProperties({"plower", "upper", "huh", "_huh2"}) @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") ConstructorsWithAccessorsNonNull(final @lombok.NonNull Integer plower, final @lombok.NonNull Integer upper, final @lombok.NonNull Integer huh, final @lombok.NonNull Integer _huh2) {
|
||||
super();
|
||||
if ((plower == null))
|
||||
{
|
||||
@@ -39,5 +39,4 @@
|
||||
this._huh = huh;
|
||||
this.__huh2 = _huh2;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -5,7 +5,7 @@
|
||||
int __huh2;
|
||||
}
|
||||
|
||||
@lombok.AllArgsConstructor @lombok.experimental.Accessors(prefix={"p", "_"}) class NonNullConstructorsWithAccessors {
|
||||
@lombok.AllArgsConstructor @lombok.experimental.Accessors(prefix={"p", "_"}) class ConstructorsWithAccessorsNonNull {
|
||||
@lombok.NonNull Integer plower;
|
||||
@lombok.NonNull Integer pUpper;
|
||||
@lombok.NonNull Integer _huh;
|
||||
|
||||
Reference in new issue
Block a user