|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TypeProcessor<T extends MetaType>
A callback used when enumerating package resources and processing meta types.
Method Summary | |
---|---|
HashMap<String,T> |
getProcessedMetaTypes()
Gets a list of the processed MetaTypes indexed by simple name. |
void |
processClass(Class<?> clazz,
String sourceFilePath)
Processes a class that is being enumerated from a package. |
boolean |
shouldProcess(Class<?> clazz,
String sourceFilePath)
Gets a flag indicating whether or not processClass should be invoked on this class. |
Method Detail |
---|
boolean shouldProcess(Class<?> clazz, String sourceFilePath) throws Exception
clazz
- The class to test.sourceFilePath
- The class's source file path.
Exception
- When an error occurs.void processClass(Class<?> clazz, String sourceFilePath) throws Exception
clazz
- The class.sourceFilePath
- The class's source file path.
Exception
- When an error occurs.HashMap<String,T> getProcessedMetaTypes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |