org.apache.beehive.controls.runtime.generator.apt
Class Diagnostics
Object
Diagnostics
- Direct Known Subclasses:
- TwoPhaseAnnotationProcessor
public abstract class Diagnostics
- extends Object
Constructor Summary |
protected |
Diagnostics(AnnotationProcessorEnvironment env)
|
Method Summary |
void |
addError(AnnotationMirror ann,
String messageKey,
Object... args)
|
void |
addError(AnnotationValue annVal,
String messageKey,
Object... args)
|
void |
addError(Declaration decl,
String messageKey,
Object... args)
|
void |
addErrorArrayArgs(AnnotationMirror ann,
String messageKey,
Object[] args)
|
void |
addWarning(AnnotationMirror ann,
String messageKey,
Object... args)
|
void |
addWarning(AnnotationValue annVal,
String messageKey,
Object... args)
|
void |
addWarning(Declaration decl,
String messageKey,
Object... args)
|
protected AnnotationProcessorEnvironment |
getAnnotationProcessorEnvironment()
|
protected abstract String |
getResourceString(String key,
Object... args)
|
boolean |
hasErrors()
|
protected void |
setHasErrors(boolean hadErrors)
|
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Diagnostics
protected Diagnostics(AnnotationProcessorEnvironment env)
addError
public void addError(Declaration decl,
String messageKey,
Object... args)
addError
public void addError(AnnotationMirror ann,
String messageKey,
Object... args)
addErrorArrayArgs
public void addErrorArrayArgs(AnnotationMirror ann,
String messageKey,
Object[] args)
addError
public void addError(AnnotationValue annVal,
String messageKey,
Object... args)
addWarning
public void addWarning(Declaration decl,
String messageKey,
Object... args)
addWarning
public void addWarning(AnnotationMirror ann,
String messageKey,
Object... args)
addWarning
public void addWarning(AnnotationValue annVal,
String messageKey,
Object... args)
getResourceString
protected abstract String getResourceString(String key,
Object... args)
hasErrors
public boolean hasErrors()
setHasErrors
protected void setHasErrors(boolean hadErrors)
getAnnotationProcessorEnvironment
protected AnnotationProcessorEnvironment getAnnotationProcessorEnvironment()