Class SokletProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
com.soklet.internal.classindex.processor.ClassIndexProcessor
com.soklet.annotation.SokletProcessor
- All Implemented Interfaces:
Processor
Soklet's standard Annotation Processor which is used to generate lookup tables of Resource Method definitions at compile time.
Soklet applications should not need to reference this class directly - the compiler should automatically detect this Annotation Processor and apply it.
However, future versions of Java might require explicit configuration of Annotation Processors at compile time. Should this become necessary, follow the instructions below to make your application conformant:
Using javac
directly:
javac -processor com.soklet.annotation.SokletProcessor ...[rest of javac parameters elided]Using Maven:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>...</version>
<configuration>
<release>...</release>
<compilerArgs>
<arg>-processor</arg>
<arg>com.soklet.annotation.SokletProcessor</arg>
</compilerArgs>
</configuration>
</plugin>
- Author:
- Mark Allen
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.soklet.internal.classindex.processor.ClassIndexProcessor
getSupportedAnnotationTypes, getSupportedSourceVersion, init, process
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedOptions
-
Constructor Details
-
SokletProcessor
public SokletProcessor()
-