google / google/error-prone

[Feature] Allow *Inject* Patterns to take full path alternative annotations

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

Description

### Description of the problem / feature request:

I'd like to be able to use alternative framework annotations that would have the same problem as `@Inject`.

### Feature requests: what underlying problem are you trying to solve with this feature?

Being able to use Spring annotations with these bugs

### What version of Error Prone are you using?

com.google.errorprone:error_prone_annotation:{strictly 2.4.0} -> 2.4.0

### Have you found anything relevant by searching the web?

No
https://www.google.com/search?client=opera&q=error+prone+inject+%40autowired
https://github.com/google/error-prone/issues?q=is%3Aissue++autowired+

suggested API, e.g

```
-Xep:Inject:InjectAnnotation:org.springframework.beans.factory.annotation.Autowired
```

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.