Only look at the line number for errors and warnings.

This commit is contained in:
Roel Spilker committed 2013-08-19 23:50:57 +02:00
1 parent 132d603dd4
commit bad93ae677
69 files changed
+167 -180

No files matched your search

@@ -52,7 +52,7 @@ public class CapturingDiagnosticListener implements DiagnosticListener<JavaFileO
"^" + Pattern.quote(file.getAbsolutePath()) +
"\\s*:\\s*\\d+\\s*:\\s*(?:warning:\\s*)?(.*)$", Pattern.DOTALL).matcher(msg);
if (m.matches()) msg = m.group(1);
messages.add(new CompilerMessage(d.getLineNumber(), d.getColumnNumber(), d.getStartPosition(), d.getKind() == Kind.ERROR, msg));
messages.add(new CompilerMessage(d.getLineNumber(), d.getStartPosition(), d.getKind() == Kind.ERROR, msg));
}
public void suppress(int start, int end) {
@@ -67,15 +67,12 @@ public class CapturingDiagnosticListener implements DiagnosticListener<JavaFileO
/** Line Number (starting at 1) */
private final long line;
/** Preferably column, but if that is hard to calculate (e.g. in ecj), then position is acceptable. */
private final long columnOrPosition;
private final long position;
private final boolean isError;
private final String message;
public CompilerMessage(long line, long columnOrPosition, long position, boolean isError, String message) {
public CompilerMessage(long line, long position, boolean isError, String message) {
this.line = line;
this.columnOrPosition = columnOrPosition;
this.position = position;
this.isError = isError;
this.message = message;
@@ -89,10 +86,6 @@ public class CapturingDiagnosticListener implements DiagnosticListener<JavaFileO
return position;
}
public long getColumnOrPosition() {
return columnOrPosition;
}
public boolean isError() {
return isError;
}
@@ -107,7 +100,6 @@ public class CapturingDiagnosticListener implements DiagnosticListener<JavaFileO
result = prime * result + (isError ? 1231 : 1237);
result = prime * result + (int) (line ^ (line >>> 32));
result = prime * result + ((message == null) ? 0 : message.hashCode());
result = prime * result + (int) (columnOrPosition ^ (columnOrPosition >>> 32));
return result;
}
@@ -121,12 +113,11 @@ public class CapturingDiagnosticListener implements DiagnosticListener<JavaFileO
if (message == null) {
if (other.message != null) return false;
} else if (!message.equals(other.message)) return false;
if (columnOrPosition != other.columnOrPosition) return false;
return true;
}
@Override public String toString() {
return String.format("%d:%d %s %s", line, columnOrPosition, isError ? "ERROR" : "WARNING", message);
return String.format("%d %s %s", line, isError ? "ERROR" : "WARNING", message);
}
}
}
@@ -38,30 +38,26 @@ public class CompilerMessageMatcher {
/** Line Number (starting at 1) */
private final long line;
/** Position is either column number, OR position in file starting from the first byte. */
private final long position;
private final Collection<String> messageParts;
public CompilerMessageMatcher(long line, long position, String message) {
public CompilerMessageMatcher(long line, String message) {
this.line = line;
this.position = position;
this.messageParts = Arrays.asList(message.split("\\s+"));
}
public static CompilerMessageMatcher asCompilerMessageMatcher(CompilerMessage message) {
return new CompilerMessageMatcher(message.getLine(), message.getColumnOrPosition(), message.getMessage());
return new CompilerMessageMatcher(message.getLine(), message.getMessage());
}
@Override public String toString() {
StringBuilder parts = new StringBuilder();
for (String part : messageParts) parts.append(part).append(" ");
if (parts.length() > 0) parts.setLength(parts.length() - 1);
return String.format("%d:%d %s", line, position, parts);
return String.format("%d %s", line, parts);
}
public boolean matches(CompilerMessage message) {
if (message.getLine() != this.line) return false;
if (message.getColumnOrPosition() != this.position) return false;
for (String token : messageParts) {
if (!message.getMessage().contains(token)) return false;
}
@@ -78,12 +74,12 @@ public class CompilerMessageMatcher {
return out;
}
private static final Pattern PATTERN = Pattern.compile("^(\\d+):(\\d+) (.*)$");
private static final Pattern PATTERN = Pattern.compile("^(\\d+) (.*)$");
private static CompilerMessageMatcher read(String line) {
line = line.trim();
if (line.isEmpty()) return null;
Matcher m = PATTERN.matcher(line);
if (!m.matches()) throw new IllegalArgumentException("Typo in test file: " + line);
return new CompilerMessageMatcher(Integer.parseInt(m.group(1)), Integer.parseInt(m.group(2)), m.group(3));
return new CompilerMessageMatcher(Integer.parseInt(m.group(1)), m.group(2));
}
}
+1 -1
View File
@@ -112,7 +112,7 @@ public class RunTestsViaEcj extends AbstractRunTests {
CategorizedProblem[] problems = compilationResult.getAllProblems();
if (problems != null) for (CategorizedProblem p : problems) {
messages.add(new CompilerMessage(p.getSourceLineNumber(), p.getSourceStart(), p.getSourceStart(), p.isError(), p.getMessage()));
messages.add(new CompilerMessage(p.getSourceLineNumber(), p.getSourceStart(), p.isError(), p.getMessage()));
}
CompilationUnitDeclaration cud = compilationUnit_.get();
@@ -1 +1 @@
19:9 Not generating setter for this field: It does not fit your @Accessors prefix list.
19 Not generating setter for this field: It does not fit your @Accessors prefix list.
@@ -1,2 +1,2 @@
1:1 @Getter, @Setter, @Wither, @Data, @ToString, @EqualsAndHashCode, @AllArgsConstructor are not allowed on builder classes.
12:1 @Value is not allowed on builder classes.
1 @Getter, @Setter, @Wither, @Data, @ToString, @EqualsAndHashCode, @AllArgsConstructor are not allowed on builder classes.
12 @Value is not allowed on builder classes.
@@ -1 +1 @@
1:1 Ignoring static constructor name: explicit @XxxArgsConstructor annotation present; its `staticName` parameter will be used.
1 Ignoring static constructor name: explicit @XxxArgsConstructor annotation present; its `staticName` parameter will be used.
@@ -1,3 +1,3 @@
1:1 Not generating equals, hashCode and canEquals: A method with one of those names already exists. (Either all or none of these methods will be generated).
10:1 Not generating equals and hashCode: A method with one of those names already exists. (Either all or none of these methods will be generated).
19:1 Not generating equals, hashCode and canEquals: A method with one of those names already exists. (Either all or none of these methods will be generated).
1 Not generating equals, hashCode and canEquals: A method with one of those names already exists. (Either all or none of these methods will be generated).
10 Not generating equals and hashCode: A method with one of those names already exists. (Either all or none of these methods will be generated).
19 Not generating equals, hashCode and canEquals: A method with one of those names already exists. (Either all or none of these methods will be generated).
@@ -1,2 +1,2 @@
4:1 Not generating equals: One of equals, hashCode, and canEqual exists. You should either write all of these are none of these (in the latter case, lombok generates them).
15:1 Not generating equals and hashCode: One of equals, hashCode, and canEqual exists. You should either write all of these are none of these (in the latter case, lombok generates them).
4 Not generating equals: One of equals, hashCode, and canEqual exists. You should either write all of these are none of these (in the latter case, lombok generates them).
15 Not generating equals and hashCode: One of equals, hashCode, and canEqual exists. You should either write all of these are none of these (in the latter case, lombok generates them).
@@ -1 +1 @@
1:1 This does nothing; provide either level or makeFinal or both.
1 This does nothing; provide either level or makeFinal or both.
@@ -1,8 +1,8 @@
8:9 Not generating isFoo(): A method with that name already exists
14:9 Not generating isFoo(): A method with that name already exists (getFoo)
32:9 Not generating getFoo(): A method with that name already exists
50:9 Not generating getFoo(): A method with that name already exists
62:9 Not generating isFoo(): A method with that name already exists
68:9 Not generating isFoo(): A method with that name already exists (getFoo)
86:9 Not generating getFoo(): A method with that name already exists
104:9 Not generating getFoo(): A method with that name already exists
8 Not generating isFoo(): A method with that name already exists
14 Not generating isFoo(): A method with that name already exists (getFoo)
32 Not generating getFoo(): A method with that name already exists
50 Not generating getFoo(): A method with that name already exists
62 Not generating isFoo(): A method with that name already exists
68 Not generating isFoo(): A method with that name already exists (getFoo)
86 Not generating getFoo(): A method with that name already exists
104 Not generating getFoo(): A method with that name already exists
@@ -1 +1 @@
13:9 Not generating isFoo(): A method with that name already exists (getFoo)
13 Not generating isFoo(): A method with that name already exists (getFoo)
@@ -1,6 +1,6 @@
2:9 'lazy' requires the field to be private and final.
6:9 'lazy' requires the field to be private and final.
10:9 'lazy' requires the field to be private and final.
14:9 'lazy' does not work with AccessLevel.NONE.
17:1 'lazy' is not supported for @Getter on a type.
22:9 'lazy' requires field initialization.
2 'lazy' requires the field to be private and final.
6 'lazy' requires the field to be private and final.
10 'lazy' requires the field to be private and final.
14 'lazy' does not work with AccessLevel.NONE.
17 'lazy' is not supported for @Getter on a type.
22 'lazy' requires field initialization.
@@ -1 +1 @@
3:1 'onMethod' is not supported for @Getter on a type.
3 'onMethod' is not supported for @Getter on a type.
@@ -1,4 +1,4 @@
2:9 The correct format is @Getter(onMethod=@__({@SomeAnnotation, @SomeOtherAnnotation}))
3:9 The correct format is @Getter(onMethod=@__({@SomeAnnotation, @SomeOtherAnnotation}))
4:9 The correct format is @Getter(onMethod=@__({@SomeAnnotation, @SomeOtherAnnotation}))
5:9 The correct format is @Getter(onMethod=@__({@SomeAnnotation, @SomeOtherAnnotation}))
2 The correct format is @Getter(onMethod=@_({@SomeAnnotation, @SomeOtherAnnotation}))
3 The correct format is @Getter(onMethod=@_({@SomeAnnotation, @SomeOtherAnnotation}))
4 The correct format is @Getter(onMethod=@_({@SomeAnnotation, @SomeOtherAnnotation}))
5 The correct format is @Getter(onMethod=@_({@SomeAnnotation, @SomeOtherAnnotation}))
@@ -1 +1 @@
1:1 Field 'log' already exists.
1 Field 'log' already exists.
@@ -1 +1 @@
2:9 @Log is not legal on non-static inner classes.
2 @Log is not legal on non-static inner classes.
@@ -1 +1 @@
2:9 @Log is legal only on types.
2 @Log is legal only on types.
@@ -1,2 +1,2 @@
1:1 @Log is legal only on classes and enums.
4:1 @Log is legal only on classes and enums.
1 @Log is legal only on classes and enums.
4 @Log is legal only on classes and enums.
@@ -1 +1 @@
22:89 @NonNull is meaningless on a primitive.
22 @NonNull is meaningless on a primitive.
@@ -1 +1 @@
7:9 @NonNull is meaningless on a primitive.
8 @NonNull is meaningless on a primitive.
@@ -1,7 +1,7 @@
2:9 Not generating setFoo(): A method with that name already exists
8:9 Not generating setFoo(): A method with that name already exists
14:9 Not generating setFoo(): A method with that name already exists
20:9 Not generating setFoo(): A method with that name already exists
38:9 Not generating setFoo(): A method with that name already exists
44:9 Not generating setFoo(): A method with that name already exists (setIsFoo)
50:9 Not generating setFoo(): A method with that name already exists
2 Not generating setFoo(): A method with that name already exists
8 Not generating setFoo(): A method with that name already exists
14 Not generating setFoo(): A method with that name already exists
20 Not generating setFoo(): A method with that name already exists
38 Not generating setFoo(): A method with that name already exists
44 Not generating setFoo(): A method with that name already exists (setIsFoo)
50 Not generating setFoo(): A method with that name already exists
@@ -1,7 +1,7 @@
3:34 incompatible types
4:44 incompatible types
6:26 incompatible types
11:26 incompatible types
14:44 incompatible types
6:1 'onMethod' is not supported for @Setter on a type.
11:1 'onMethod' is not supported for @Setter on a type.
3 incompatible types
4 incompatible types
6 incompatible types
11 incompatible types
14 incompatible types
6 'onMethod' is not supported for @Setter on a type.
11 'onMethod' is not supported for @Setter on a type.
@@ -1,7 +1,7 @@
3:33 incompatible types
4:43 incompatible types
6:25 incompatible types
11:25 incompatible types
14:43 incompatible types
6:1 'onParam' is not supported for @Setter on a type.
11:1 'onParam' is not supported for @Setter on a type.
3 incompatible types
4 incompatible types
6 incompatible types
11 incompatible types
14 incompatible types
6 'onParam' is not supported for @Setter on a type.
11 'onParam' is not supported for @Setter on a type.
@@ -1,2 +1,2 @@
2:34 incompatible types
2:54 incompatible types
2 incompatible types
2 incompatible types
@@ -1 +1 @@
2:10 cannot find symbol
2 cannot find symbol
@@ -1 +1 @@
5:9 The field write does not exist.
5 The field write does not exist.
@@ -1 +1 @@
5:9 non-static variable read cannot be referenced from a static context
5 non-static variable read cannot be referenced from a static context
@@ -1,2 +1,2 @@
5:21 Cannot use 'val' here because initializer expression does not have a representable type: Type cannot be resolved
9:21 'val' is not compatible with array initializer expressions. Use the full form (new int[] { ... } instead of just { ... })
5 Cannot use 'val' here because initializer expression does not have a representable type: Type cannot be resolved
9 'val' is not compatible with array initializer expressions. Use the full form (new int[] { ... } instead of just { ... })
@@ -1 +1 @@
6:53 'val' is not allowed in old-style for loops
6 'val' is not allowed in old-style for loops
@@ -1,7 +1,7 @@
2:9 Not generating withFoo(): A method with that name already exists
12:9 Not generating withFoo(): A method with that name already exists
22:9 Not generating withFoo(): A method with that name already exists
32:9 Not generating withFoo(): A method with that name already exists
62:9 Not generating withFoo(): A method with that name already exists
72:9 Not generating withFoo(): A method with that name already exists (withIsFoo)
82:9 Not generating withFoo(): A method with that name already exists
2 Not generating withFoo(): A method with that name already exists
12 Not generating withFoo(): A method with that name already exists
22 Not generating withFoo(): A method with that name already exists
32 Not generating withFoo(): A method with that name already exists
62 Not generating withFoo(): A method with that name already exists
72 Not generating withFoo(): A method with that name already exists (withIsFoo)
82 Not generating withFoo(): A method with that name already exists
@@ -1,2 +1,2 @@
2:9 Not generating wither for this field: Withers cannot be generated for static fields.
3:9 Not generating wither for this field: Withers cannot be generated for static fields.
2 Not generating wither for this field: Withers cannot be generated for static fields.
3 Not generating wither for this field: Withers cannot be generated for static fields.
@@ -1 +1 @@
2:9 Not generating wither for this field: Withers cannot be generated for fields starting with $.
2 Not generating wither for this field: Withers cannot be generated for fields starting with $.
@@ -1 +1 @@
19:530 Not generating setter for this field: It does not fit your @Accessors prefix list.
19 Not generating setter for this field: It does not fit your @Accessors prefix list.
@@ -1,2 +1,2 @@
1:0 @Getter, @Setter, @FieldDefaults, @Wither, @Data, @ToString, @EqualsAndHashCode, @AllArgsConstructor are not allowed on builder classes.
12:331 @Value is not allowed on builder classes.
1 @Getter, @Setter, @FieldDefaults, @Wither, @Data, @ToString, @EqualsAndHashCode, @AllArgsConstructor are not allowed on builder classes.
12 @Value is not allowed on builder classes.
@@ -1 +1 @@
1:0 Ignoring static constructor name: explicit @XxxArgsConstructor annotation present; its `staticName` parameter will be used.
1 Ignoring static constructor name: explicit @XxxArgsConstructor annotation present; its `staticName` parameter will be used.
@@ -1,3 +1,3 @@
1:0 Not generating equals, hashCode and canEquals: A method with one of those names already exists. (Either all or none of these methods will be generated).
10:125 Not generating equals and hashCode: A method with one of those names already exists. (Either all or none of these methods will be generated).
19:274 Not generating equals, hashCode and canEquals: A method with one of those names already exists. (Either all or none of these methods will be generated).
1 Not generating equals, hashCode and canEquals: A method with one of those names already exists. (Either all or none of these methods will be generated).
10 Not generating equals and hashCode: A method with one of those names already exists. (Either all or none of these methods will be generated).
19 Not generating equals, hashCode and canEquals: A method with one of those names already exists. (Either all or none of these methods will be generated).
@@ -1,2 +1,2 @@
4:57 Not generating equals: One of equals, hashCode, and canEqual exists. You should either write all of these are none of these (in the latter case, lombok generates them).
15:194 Not generating equals and hashCode: One of equals, hashCode, and canEqual exists. You should either write all of these are none of these (in the latter case, lombok generates them).
4 Not generating equals: One of equals, hashCode, and canEqual exists. You should either write all of these are none of these (in the latter case, lombok generates them).
15 Not generating equals and hashCode: One of equals, hashCode, and canEqual exists. You should either write all of these are none of these (in the latter case, lombok generates them).
@@ -1 +1 @@
1:0 This does nothing; provide either level or makeFinal or both.
1 This does nothing; provide either level or makeFinal or both.
@@ -1,8 +1,8 @@
8:102 Not generating isFoo(): A method with that name already exists
14:186 Not generating isFoo(): A method with that name already exists (getFoo)
32:436 Not generating getFoo(): A method with that name already exists
50:688 Not generating getFoo(): A method with that name already exists
62:868 Not generating isFoo(): A method with that name already exists
68:961 Not generating isFoo(): A method with that name already exists (getFoo)
86:1240 Not generating getFoo(): A method with that name already exists
104:1510 Not generating getFoo(): A method with that name already exists
8 Not generating isFoo(): A method with that name already exists
14 Not generating isFoo(): A method with that name already exists (getFoo)
32 Not generating getFoo(): A method with that name already exists
50 Not generating getFoo(): A method with that name already exists
62 Not generating isFoo(): A method with that name already exists
68 Not generating isFoo(): A method with that name already exists (getFoo)
86 Not generating getFoo(): A method with that name already exists
104 Not generating getFoo(): A method with that name already exists
@@ -1 +1 @@
13:220 Not generating isFoo(): A method with that name already exists (getFoo)
13 Not generating isFoo(): A method with that name already exists (getFoo)
@@ -1,6 +1,6 @@
2:35 'lazy' requires the field to be private and final.
6:132 'lazy' requires the field to be private and final.
10:232 'lazy' requires the field to be private and final.
14:315 'lazy' does not work with AccessLevel.NONE.
17:412 'lazy' is not supported for @Getter on a type.
22:544 'lazy' requires field initialization.
2 'lazy' requires the field to be private and final.
6 'lazy' requires the field to be private and final.
10 'lazy' requires the field to be private and final.
14 'lazy' does not work with AccessLevel.NONE.
17 'lazy' is not supported for @Getter on a type.
22 'lazy' requires field initialization.
@@ -1 +1 @@
3:50 'onMethod' is not supported for @Getter on a type.
3 'onMethod' is not supported for @Getter on a type.
@@ -1,4 +1,4 @@
2:31 The correct format is @Getter(onMethod=@__({@SomeAnnotation, @SomeOtherAnnotation}))
3:93 The correct format is @Getter(onMethod=@__({@SomeAnnotation, @SomeOtherAnnotation}))
4:144 The correct format is @Getter(onMethod=@__({@SomeAnnotation, @SomeOtherAnnotation}))
5:210 The correct format is @Getter(onMethod=@__({@SomeAnnotation, @SomeOtherAnnotation}))
2 The correct format is @Getter(onMethod=@_({@SomeAnnotation, @SomeOtherAnnotation}))
3 The correct format is @Getter(onMethod=@_({@SomeAnnotation, @SomeOtherAnnotation}))
4 The correct format is @Getter(onMethod=@_({@SomeAnnotation, @SomeOtherAnnotation}))
5 The correct format is @Getter(onMethod=@_({@SomeAnnotation, @SomeOtherAnnotation}))
@@ -1 +1 @@
1:0 Field 'log' already exists.
1 Field 'log' already exists.
@@ -1 +1 @@
2:9 @Log is not legal on non-static inner classes.
2 @Log is not legal on non-static inner classes.
@@ -1 +1 @@
2:30 The annotation @Slf4j is disallowed for this location
2 The annotation @Slf4j is disallowed for this location
@@ -1,2 +1,2 @@
1:0 @Slf4j is legal only on classes and enums.
4:67 @Slf4j is legal only on classes and enums.
1 @Slf4j is legal only on classes and enums.
4 @Slf4j is legal only on classes and enums.
@@ -1,3 +1,3 @@
15:460 Dead code
22:683 @NonNull is meaningless on a primitive.
28:823 Dead code
15 Dead code
22 @NonNull is meaningless on a primitive.
28 Dead code
@@ -1 +1 @@
7:116 @NonNull is meaningless on a primitive.
7 @NonNull is meaningless on a primitive.
@@ -1,7 +1,7 @@
2:17 Not generating setFoo(): A method with that name already exists
8:96 Not generating setFoo(): A method with that name already exists
14:174 Not generating setFoo(): A method with that name already exists
20:252 Not generating setFoo(): A method with that name already exists
38:480 Not generating setFoo(): A method with that name already exists
44:570 Not generating setFoo(): A method with that name already exists (setIsFoo)
50:653 Not generating setFoo(): A method with that name already exists
2 Not generating setFoo(): A method with that name already exists
8 Not generating setFoo(): A method with that name already exists
14 Not generating setFoo(): A method with that name already exists
20 Not generating setFoo(): A method with that name already exists
38 Not generating setFoo(): A method with that name already exists
44 Not generating setFoo(): A method with that name already exists (setIsFoo)
50 Not generating setFoo(): A method with that name already exists
@@ -1,2 +1,2 @@
6:0 'onMethod' is not supported for @Setter on a type.
11:0 'onMethod' is not supported for @Setter on a type.
6 'onMethod' is not supported for @Setter on a type.
11 'onMethod' is not supported for @Setter on a type.
@@ -1,2 +1,2 @@
6:0 'onParam' is not supported for @Setter on a type.
11:0 'onParam' is not supported for @Setter on a type.
6 'onParam' is not supported for @Setter on a type.
11 'onParam' is not supported for @Setter on a type.
@@ -1 +1 @@
2:35 Getter cannot be resolved to a type
2 Getter cannot be resolved to a type
@@ -1 +1 @@
8:185 The static field SynchronizedName.READ should be accessed in a static way
8 The static field SynchronizedName.READ should be accessed in a static way
@@ -1 +1 @@
5:120 The field write does not exist.
5 The field write does not exist.
@@ -1 +1 @@
5:127 Cannot make a static reference to the non-static field SynchronizedNameStaticToInstanceRef.read
5 Cannot make a static reference to the non-static field SynchronizedNameStaticToInstanceRef.read
@@ -1,2 +1,2 @@
5:95 d cannot be resolved to a variable
9:143 'val' is not compatible with array initializer expressions. Use the full form (new int[] { ... } instead of just { ... })
5 d cannot be resolved to a variable
9 'val' is not compatible with array initializer expressions. Use the full form (new int[] { ... } instead of just { ... })
@@ -1,4 +1,4 @@
6:160 'val' is not allowed in old-style for loops
6:171 Type mismatch: cannot convert from int to val
6:174 'val' is not allowed in old-style for loops
6:187 'val' is not allowed in old-style for loops
6 'val' is not allowed in old-style for loops
6 Type mismatch: cannot convert from int to val
6 'val' is not allowed in old-style for loops
6 'val' is not allowed in old-style for loops
@@ -1 +1 @@
13:260 List is a raw type. References to generic type List<E> should be parameterized
13 List is a raw type. References to generic type List<E> should be parameterized
@@ -1 +1 @@
1:7 The type Value is deprecated
1 The type Value is deprecated
@@ -1,7 +1,7 @@
2:17 Not generating withFoo(): A method with that name already exists
12:141 Not generating withFoo(): A method with that name already exists
22:264 Not generating withFoo(): A method with that name already exists
32:386 Not generating withFoo(): A method with that name already exists
62:746 Not generating withFoo(): A method with that name already exists
72:880 Not generating withFoo(): A method with that name already exists (withIsFoo)
82:1008 Not generating withFoo(): A method with that name already exists
2 Not generating withFoo(): A method with that name already exists
12 Not generating withFoo(): A method with that name already exists
22 Not generating withFoo(): A method with that name already exists
32 Not generating withFoo(): A method with that name already exists
62 Not generating withFoo(): A method with that name already exists
72 Not generating withFoo(): A method with that name already exists (withIsFoo)
82 Not generating withFoo(): A method with that name already exists
@@ -1,2 +1,2 @@
2:24 Not generating wither for this field: Withers cannot be generated for static fields.
3:73 Not generating wither for this field: Withers cannot be generated for static fields.
2 Not generating wither for this field: Withers cannot be generated for static fields.
3 Not generating wither for this field: Withers cannot be generated for static fields.
@@ -1 +1 @@
2:26 Not generating wither for this field: Withers cannot be generated for fields starting with $.
2 Not generating wither for this field: Withers cannot be generated for fields starting with $.
@@ -1 +1 @@
33:89 @NonNull is meaningless on a primitive.
33 @NonNull is meaningless on a primitive.
@@ -1,3 +1,3 @@
4:9 @NonNull is meaningless on a primitive.
18:29 @NonNull is meaningless on a primitive.
44:26 @NonNull is meaningless on a primitive.
3 @NonNull is meaningless on a primitive.
15 @NonNull is meaningless on a primitive.
37 @NonNull is meaningless on a primitive.
@@ -1 +1 @@
2:10 cannot find symbol
2 cannot find symbol
@@ -1 +1 @@
5:66 non-static variable read cannot be referenced from a static context
5 non-static variable read cannot be referenced from a static context
@@ -1,3 +1,3 @@
3:44 cannot find symbol
6:17 cannot find symbol
6:25 illegal initializer for <none>
3 cannot find symbol
6 cannot find symbol
6 illegal initializer for <none>
@@ -1 +1 @@
5:53 'val' is not allowed in old-style for loops
5 'val' is not allowed in old-style for loops