|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jst.ws.annotations.core.processor.AbstractAnnotationProcessor
public abstract class AbstractAnnotationProcessor
Abstract base class for processors contributed to the
org.eclipse.jst.ws.annotations.core.annotationProcessor extension point.
Provisional API: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
| Field Summary | |
|---|---|
protected com.sun.mirror.apt.AnnotationProcessorEnvironment |
environment
|
| Constructor Summary | |
|---|---|
protected |
AbstractAnnotationProcessor()
|
| Method Summary | |
|---|---|
protected void |
printError(com.sun.mirror.util.SourcePosition position,
java.lang.String message)
Prints an error message. |
protected void |
printError(java.lang.String message)
Prints an error message. |
protected void |
printFixableError(com.sun.mirror.util.SourcePosition position,
java.lang.String message)
Print an error including the given arguments for use in quick-fixes. |
protected void |
printFixableError(com.sun.mirror.util.SourcePosition position,
java.lang.String message,
java.lang.String pluginId,
java.lang.String errorId)
Print an error including the given arguments for use in quick-fixes. |
protected void |
printFixableError(java.lang.String message,
java.lang.String pluginId,
java.lang.String errorId)
Print an error including the given arguments for use in quick-fixes. |
protected void |
printFixableNotice(com.sun.mirror.util.SourcePosition position,
java.lang.String message,
java.lang.String pluginId,
java.lang.String errorId)
Print a notice including the given arguments for use in quick-fixes. |
protected void |
printFixableNotice(java.lang.String message,
java.lang.String pluginId,
java.lang.String errorId)
Print a notice including the given arguments for use in quick-fixes. |
protected void |
printFixableWarning(com.sun.mirror.util.SourcePosition position,
java.lang.String message,
java.lang.String pluginId,
java.lang.String errorId)
Print a warning including the given arguments for use in quick-fixes. |
protected void |
printFixableWarning(java.lang.String message,
java.lang.String pluginId,
java.lang.String errorId)
Print a warning including the given arguments for use in quick-fixes. |
protected void |
printNotice(com.sun.mirror.util.SourcePosition position,
java.lang.String message)
Prints a notice. |
protected void |
printNotice(java.lang.String message)
Prints a notice. |
protected void |
printWarning(com.sun.mirror.util.SourcePosition position,
java.lang.String message)
Prints a warning message. |
protected void |
printWarning(java.lang.String message)
Prints a warning message. |
abstract void |
process()
Process all program elements supported by this annotation processor. |
void |
setAnnotationProcessorEnvironment(com.sun.mirror.apt.AnnotationProcessorEnvironment environment)
Set the AnnotationProcessorEnvironment environment to use during processing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected com.sun.mirror.apt.AnnotationProcessorEnvironment environment
| Constructor Detail |
|---|
protected AbstractAnnotationProcessor()
| Method Detail |
|---|
public void setAnnotationProcessorEnvironment(com.sun.mirror.apt.AnnotationProcessorEnvironment environment)
AnnotationProcessorEnvironment environment to use during processing.
environment - the annotation processor environment.public abstract void process()
process in interface com.sun.mirror.apt.AnnotationProcessorAnnotationProcessor
protected void printError(com.sun.mirror.util.SourcePosition position,
java.lang.String message)
position - the position where the error occured, or null if it is unknown or not applicablemessage - the message, or an empty string if noneprotected void printError(java.lang.String message)
message - the message, or an empty string if none
protected void printWarning(com.sun.mirror.util.SourcePosition position,
java.lang.String message)
position - the position where the warning occured, or null if it is unknown or not applicablemessage - the message, or an empty string if noneprotected void printWarning(java.lang.String message)
message - the message, or an empty string if none
protected void printNotice(com.sun.mirror.util.SourcePosition position,
java.lang.String message)
position - the position where the notice occured, or null if it is unknown or not applicablemessage - the message, or an empty string if noneprotected void printNotice(java.lang.String message)
message - the message, or an empty string if none
protected void printFixableError(com.sun.mirror.util.SourcePosition position,
java.lang.String message)
position - position of the errormessage - message to display to the user
protected void printFixableError(com.sun.mirror.util.SourcePosition position,
java.lang.String message,
java.lang.String pluginId,
java.lang.String errorId)
position - position of the errormessage - message to display to the userpluginId - plug-in which will provide a java quick fix processor for this error. Cannot be null.errorId - a plug-in provided error code which will be meaningful to the java quick fix processor. Cannot be null.
protected void printFixableError(java.lang.String message,
java.lang.String pluginId,
java.lang.String errorId)
message - message to display to the userpluginId - plug-in which will provide a java quick fix processor for this error. Cannot be null.errorId - a plug-in provided error code which will be meaningful to the java quick fix processor. Cannot be null.
protected void printFixableWarning(com.sun.mirror.util.SourcePosition position,
java.lang.String message,
java.lang.String pluginId,
java.lang.String errorId)
position - position of the warningmessage - message to display to the userpluginId - plug-in which will provide a java quick fix processor for this error. Cannot be null.errorId - a plug-in provided error code which will be meaningful to the java quick fix processor. Cannot be null.
protected void printFixableWarning(java.lang.String message,
java.lang.String pluginId,
java.lang.String errorId)
message - message to display to the userpluginId - plug-in which will provide a java quick fix processor for this error. Cannot be null.errorId - a plug-in provided error code which will be meaningful to the java quick fix processor. Cannot be null.
protected void printFixableNotice(com.sun.mirror.util.SourcePosition position,
java.lang.String message,
java.lang.String pluginId,
java.lang.String errorId)
position - position of the noticemessage - message to display to the userpluginId - plug-in which will provide a java quick fix processor for this error. Cannot be null.errorId - a plug-in provided error code which will be meaningful to the java quick fix processor. Cannot be null.
protected void printFixableNotice(java.lang.String message,
java.lang.String pluginId,
java.lang.String errorId)
message - message to display to the userpluginId - plug-in which will provide a java quick fix processor for this error. Cannot be null.errorId - a plug-in provided error code which will be meaningful to the java quick fix processor. Cannot be null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||