public class BaseMessagerImpl
extends java.lang.Object
| Constructor and Description |
|---|
BaseMessagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
static AptProblem |
createProblem(javax.tools.Diagnostic.Kind kind,
java.lang.CharSequence msg,
javax.lang.model.element.Element e,
javax.lang.model.element.AnnotationMirror a,
javax.lang.model.element.AnnotationValue v)
Create a CategorizedProblem that can be reported to an ICompilerRequestor, etc.
|
public static AptProblem createProblem(javax.tools.Diagnostic.Kind kind, java.lang.CharSequence msg, javax.lang.model.element.Element e, javax.lang.model.element.AnnotationMirror a, javax.lang.model.element.AnnotationValue v)
e - the element against which to report the message. If the element is not
in the set of elements being compiled in the current round, the reference context
and filename will be set to null.