public class SignaturePrinter extends AbstractTypeProcessor
The class can be used in two possible ways, depending on the type file:
javac -processor SignaturePrinter <java files> ...
java SignaturePrinter <class name>
javac -processor SignaturePrinter
-Achecker=checkers.nullness.NullnessChecker JavaFile.java
processingEnv
Constructor and Description |
---|
SignaturePrinter() |
Modifier and Type | Method and Description |
---|---|
void |
init(ProcessingEnvironment env) |
static void |
main(String[] args) |
static void |
printUsage() |
void |
typeProcess(TypeElement element,
@Nullable TreePath p) |
process, typeProcessingOver
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, isInitialized, toString
public void init(ProcessingEnvironment env)
init
in interface Processor
init
in class AbstractTypeProcessor
public void typeProcess(TypeElement element, @Nullable TreePath p)
typeProcess
in class AbstractTypeProcessor
public static void printUsage()
public static void main(String[] args)