eclipse-jdt / eclipse-jdt/eclipse.jdt.core
Some private fields aren't marked as not used when they should
- Dominant language
- Java
- Stars
- 237
- Forks
- 195
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 47
Description
It the following class is defined:
```java
public class Test {
@javax.ejb.EJB
private Object ejb;
@javax.inject.Inject
private Object inject;
@javax.ws.rs.core.Context
private Object context;
}
```
And the compiler is set to show a warning if a private member isn't used, the field `ejb` and `context` aren't marked but `inject` is.
¿Is there some kind of exception for `javax.inject.Inject`?
I think all of these fields should be marked as not used, they aren't being used internally on the class, like what happens with the `inject` field.

Contributor guide
Assessment
This issue has not been assessed yet.