Package ball.annotation.processing
Interface ClassFileProcessor
-
- All Superinterfaces:
Processor
- All Known Implementing Classes:
AntLibProcessor
,JAXBIndexProcessor
,ManifestProcessor
,ServiceProviderForProcessor
public interface ClassFileProcessor extends Processor
Interface to provide an alternate entry point for annotation processing on compiled class files. Implementors must extendAnnotatedProcessor
.- Author:
- Allen D. Ball
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static List<String>
list(JavaFileManager fm)
Static method to get the list ofClass
file names that have been generated by theJavaFileManager
.void
process(Set<Class<?>> set, JavaFileManager fm)
Processor
alternate entry point.-
Methods inherited from interface javax.annotation.processing.Processor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, init, process
-
-
-
-
Method Detail
-
process
void process(Set<Class<?>> set, JavaFileManager fm) throws Exception
Processor
alternate entry point.- Parameters:
set
- TheSet
ofClass
es to analyze.fm
- The configuredJavaFileManager
(for writing output files).- Throws:
Exception
- If the implementation throws aException
.
-
list
static List<String> list(JavaFileManager fm) throws IOException
Static method to get the list ofClass
file names that have been generated by theJavaFileManager
.- Parameters:
fm
- The configuredJavaFileManager
.- Returns:
- The
List
of class file names (String
s). - Throws:
IOException
- If theJavaFileManager
throws anIOException
.
-
-