public class JavaStubifier extends Object
To process a file means to remove:
Deprecated annotation (to be Java 8 compatible).
| Constructor and Description |
|---|
JavaStubifier() |
| Modifier and Type | Method and Description |
|---|---|
static Path |
dirnameToPath(String dir)
Converts a directory name to a path.
|
static void |
main(String[] args)
Processes each provided command-line argument; see class documentation for details.
|
public static void main(String[] args)
args - command-line arguments: directories to processpublic static Path dirnameToPath(String dir)
Unlike Paths.get, it handles "." which means the current directory in Unix.
dir - a directory name