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 ofClassfile names that have been generated by theJavaFileManager.voidprocess(Set<Class<?>> set, JavaFileManager fm)Processoralternate 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
Processoralternate entry point.- Parameters:
set- TheSetofClasses 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 ofClassfile names that have been generated by theJavaFileManager.- Parameters:
fm- The configuredJavaFileManager.- Returns:
- The
Listof class file names (Strings). - Throws:
IOException- If theJavaFileManagerthrows anIOException.
-
-