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.
Your build system should ensure this Annotation Processor is available at compile time. 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>
<!-- Rest of args elided -->
<arg>-processor</arg>
<arg>com.soklet.annotation.SokletProcessor</arg>
</compilerArgs>
</configuration>
</plugin>
Using Gradle:
def sokletVersion = "2.0.0" // (use your actual version)
dependencies {
// Soklet used by your code at compile/run time
implementation "com.soklet:soklet:${sokletVersion}"
// Same artifact also provides the annotation processor
annotationProcessor "com.soklet:soklet:${sokletVersion}"
// If tests also need processing (optional)
testAnnotationProcessor "com.soklet:soklet:${sokletVersion}"
}
- 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 AbstractProcessor
getCompletions, getSupportedOptions
-
Constructor Details
-
SokletProcessor
public SokletProcessor()
-