redhat-developer / redhat-developer/vscode-java
Lombok @SuperBuilder annotation not supported by extension
@snjeza 已经在做这个了。
开始于 2022年11月29日。
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 547
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 11
描述
Environment
- Operating System:
Microsoft Windows 11 Home 10.0.22621 N/A Build 22621Ubuntu 20.04.4 LTS - JDK version: openjdk version "17.0.4" 2022-07-19 LTS
- Visual Studio Code version: 1.73.1
- Java extension version: v1.13.2022112903 (pre-release)
Steps To Reproduce
- Clone repo https://github.com/zymotik/redhat-developer-vscode-java-issue-2805
- Open in Visual Studio Code (with Java extension)
- Open
src/main/java/com/virtualvenue/model/widget/ContentWidget.javaand check line 33 is marked as valid - Application builds without issue, the problem is only reported by the VSCode extension
Java Language Server workspace logs - SuperBuilder annotation error
Current Result


Duplicate type parameter CJava(536871432)
Bound mismatch: The type C is not a valid substitute for the bounded parameter <C extends ScheduledContentInstance> of the type ContentWidget<C>Java(16777742)
Bound mismatch: The type C is not a valid substitute for the bounded parameter <C extends ScheduledContentInstance> of the type ContentWidget.ContentWidgetBuilder<C,C,B>Java(16777742)
Bound mismatch: The type ContentWidget<C> is not a valid substitute for the bounded parameter <C extends ContentWidget<C>> of the type ContentWidget.ContentWidgetBuilder<C,C,B>Java(16777742)
Type mismatch: cannot convert from List<C> to Collection<? extends capture#1-of ?>Java(16777233)
The constructor ArrayList<C>(ArrayList<capture#1-of ?>) is undefinedJava(134217858)
The method unmodifiableList(List<? extends T>) in the type Collections is not applicable for the arguments (ArrayList<C>)Java(67108979)
Expected Result
No errors reported in VSCode
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
评估
这个 Issue 还没有评估数据。