Commit Graph

1958 Commits

Author SHA1 Message Date
Stephan Schroevers
3736f7d174 Introduce SpringMvcAnnotationCheck
While there: drop the unused `googleformatter-maven-plugin` fork.
2018-04-28 13:23:26 +02:00
Stephan Schroevers
f8a3b64167 Extract some annotation argument selection logic
So that it can be reused.
2018-04-28 13:23:26 +02:00
Stephan Schroevers
be5c149a66 Support dropping trailing commas from annotation arrays 2018-04-28 13:23:26 +02:00
Stephan Schroevers
151783e63f Support in/exclusions for LexicographicalAnnotationAttributeListingCheck
While there:
- Also enable more compiler checks.
- Add and apply the Google Java formatter. (Yeah, this should have been a
  separate commit...
2018-04-28 13:23:26 +02:00
Stephan Schroevers
f2b393e72d Introduce lexicographic annotation sorting 2018-04-28 13:23:26 +02:00
Stephan Schroevers
dc7ef5deca Also drop redundant curlies 2018-04-28 13:23:26 +02:00
Stephan Schroevers
66ebebbe35 Introduce a CanonicalAnnotationSyntax check
While there, clean up some existing code.
2018-04-28 13:23:26 +02:00
Stephan Schroevers
1f8fe5ff94 Initial commit for error-prone-contrib
- The `pom.xml` needs to be cleaned up a lot. Ideally we split off parts of the
  PRP parent pom so that it can be reused.
- Code style: maybe we should more closely follow the error-prone project by
  also using two-space indentation. This project could be an incubator for
  plugins contributed to EP. (It is for this reason also that I used Auto
  Service and JUnit.)
2018-04-28 13:23:26 +02:00