|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.tools.apt.mirror.apt.MessagerImpl
public class MessagerImpl
Implementation of Messager.
| Field Summary | |
|---|---|
private Bark |
bark
|
private static Context.Key<MessagerImpl> |
messagerKey
|
| Constructor Summary | |
|---|---|
private |
MessagerImpl(Context context)
|
| Method Summary | |
|---|---|
static MessagerImpl |
instance(Context context)
|
void |
printError(SourcePosition pos,
java.lang.String msg)
Prints an error message. |
void |
printError(java.lang.String msg)
Prints an error message. |
void |
printNotice(SourcePosition pos,
java.lang.String msg)
Prints a notice. |
void |
printNotice(java.lang.String msg)
Prints a notice. |
void |
printWarning(SourcePosition pos,
java.lang.String msg)
Prints a warning message. |
void |
printWarning(java.lang.String msg)
Prints a warning message. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final Bark bark
private static final Context.Key<MessagerImpl> messagerKey
| Constructor Detail |
|---|
private MessagerImpl(Context context)
| Method Detail |
|---|
public static MessagerImpl instance(Context context)
public void printError(java.lang.String msg)
printError in interface Messagermsg - the message, or an empty string if none
public void printError(SourcePosition pos,
java.lang.String msg)
printError in interface Messagerpos - the position where the error occured, or null if it is
unknown or not applicablemsg - the message, or an empty string if nonepublic void printWarning(java.lang.String msg)
printWarning in interface Messagermsg - the message, or an empty string if none
public void printWarning(SourcePosition pos,
java.lang.String msg)
printWarning in interface Messagerpos - the position where the warning occured, or null if it is
unknown or not applicablemsg - the message, or an empty string if nonepublic void printNotice(java.lang.String msg)
printNotice in interface Messagermsg - the message, or an empty string if none
public void printNotice(SourcePosition pos,
java.lang.String msg)
printNotice in interface Messagerpos - the position where the noticed occured, or null if it is
unknown or not applicablemsg - the message, or an empty string if none
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||