jurand - Man Page
Java removal of annotations
Synopsis
jurand [-a] [-i] [-s] [-n=<name>] [-p=<pattern>] [<paths>...]
Description
A tool for manipulating symbols present in .java
source files.
The tool can be used for patching .java
sources in cases where using sed is insufficient due to Java language syntax. The tool follows Java language rules rather than applying simple regular expressions on the source code.
Currently the tool is able to remove import
statements and annotations.
Options
- -n, --name=<name>
Simple (not fully-qualified) class name.
- -p, --pattern=<pattern>
Regex pattern to match names used in code.
- -a
Also remove annotations used in code.
- -i, --in-place
Replace the contents of files.
- -s, --strict
Fail if any of the specified options was redundant and no changes associated with the option were made. This option is only applicable together with -i.
Reporting Bugs
Bugs should be reported through the Jurand issue tracker at Github: https://github.com/fedora-java/jurand/issues.
Author
Written by Marián Konček.