google / google/error-prone

2.50.0 false positive UnrecognisedJavadocTag with Lombok

Open
#5,855 1 comment 4 reactions 0 assignees View on GitHub
lombok
Dominant language
Java
Stars
7.2k
Forks
820
Avg merge
5h 9m
Merged PRs (30d)
50

Description

2.50.0 does not accept this code.
```java
import lombok.Getter;

@Getter
public class Reproducer {
/**
* See {@link String}
*/
private String str = "";
}
```

```
warning: [UnrecognisedJavadocTag] This Javadoc tag wasn't recognised by the parser. Is it malformed somehow, perhaps with mismatched braces?
private String str = "";
^
```

Issue goes away if I get rid of Lombok `@Getter` annotation or switch to markdown javadoc syntax

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.