eclipse-jdt / eclipse-jdt/eclipse.jdt.core

Issues with classes starting with $

Open
#670 4 comments 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
237
Forks
195
Avg merge
1d 10h
Merged PRs (30d)
49

Description

Related issues
- https://github.com/redhat-developer/vscode-java/issues/2219
- https://github.com/redhat-developer/vscode-java/issues/1639#issuecomment-1416703877

Steps to reproduce:
- create the $EnumUtils.java class
```
package org.sample;
public class $EnumUtils {
public void test() {
}
}
```
- create the Main.java class
```
package org.sample.main;
public class Main {
public static void main(String[] args) {
$EnumUtils foo = new $EnumUtils();
}
}
```
- try CA, Organize Import, Search, Open Type

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with the `$EnumUtils.java` and `Main.java` examples in the issue. Check CA, Organize Import, Search, and Open Type, then trace the affected JDT entry points; done means classes whose names start with `$` work correctly in all four operations.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.