You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if this is a bug or feature request, fill the form below as best as you can.
Description of the problem / feature request:
I have the following code:
@Data
@AllArgsConstructor
public static class TableEntry {
public String lexme;
public TokenType type;
public int line;
public int col;
}
The @Data and @AllArgsConstructor annotations are part of the lombok library. This code builds fine. However, using error prone it gives me this stack trace:
@Data
^
Please report this at https://github.com/google/error-prone/issues/new and include the following:
error-prone version: 2.1.3
Stack Trace:
java.lang.IndexOutOfBoundsException
at java.nio.HeapCharBuffer.subSequence(HeapCharBuffer.java:596)
... (Many More Exceptions Omitted)
Feature requests: what underlying problem are you trying to solve with this feature?
A way to suppress this error.
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Download the lombok jar file, add it to your classpath, create a class with at least 1 field, then give the class the @Data annotation.
@Data
class MyClass {
public static int myVar;
}
What version of Error Prone are you using?
Version 2.1.3
Have you found anything relevant by searching the web?
#1185 #1214
The solution they are suggesting is add the annotationProcessor option with lombok. I did that. Here is the section in my build.gradle file:
Description of the problem / feature request:
The
@Data
and@AllArgsConstructor
annotations are part of thelombok
library. This code builds fine. However, using error prone it gives me this stack trace:Feature requests: what underlying problem are you trying to solve with this feature?
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
What version of Error Prone are you using?
Have you found anything relevant by searching the web?
The text was updated successfully, but these errors were encountered: