Package org.tentackle.buildsupport
Class AbstractAnalyzeHandler
java.lang.Object
org.tentackle.buildsupport.AbstractAnalyzeHandler
- All Implemented Interfaces:
AnalyzeHandler
- Direct Known Subclasses:
BundleAnalyzeHandler,InterceptionAnalyzeHandler,MappedServiceAnalyzeHandler,RecordDTOAnalyzeHandler,RemoteMethodAnalyzeHandler,ServiceAnalyzeHandler,TableNameAnalyzeHandler
Base class for
AnalyzeHandler.- Author:
- harald
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected FilegetDirectory(File baseDir, String className) Creates a directory in given basedir for a classname.protected voidprint(Diagnostic.Kind kind, CharSequence msg, Element e) Prints a message of the specified kind at the location of the element.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.tentackle.buildsupport.AnalyzeHandler
getProcessor, processAnnotation, setProcessor
-
Constructor Details
-
AbstractAnalyzeHandler
public AbstractAnalyzeHandler()
-
-
Method Details
-
getDirectory
Creates a directory in given basedir for a classname.- Parameters:
baseDir- the base directoryclassName- the classname- Returns:
- the directory holding analyze files for the class
-
print
Prints a message of the specified kind at the location of the element.- Parameters:
kind- the kind of messagemsg- the messagee- the element to use as a position hint
-