public class RemoveAnnotationsForInference extends Object
Removes annotations from all files in the given directories. Modifies the files in place.
Does not remove trusted annotations: those that the checker trusts rather than verifies.
Does not remove annotations at locations where inference does no work:
-Alint:cast
(or -Alint:all
which implies it) is passed to javac. You can suppress the
warning by passing -Alint:-cast
to javac.Constructor and Description |
---|
RemoveAnnotationsForInference() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Processes each provided command-line argument; see
class
documentation for details. |
public static void main(String[] args)
class
documentation
for details.args
- command-line arguments: directories to process