GeneratorDestinationpublic class APGeneratorDestinaton extends java.lang.Object implements GeneratorDestination
| Constructor | Description |
|---|---|
APGeneratorDestinaton(javax.annotation.processing.RoundEnvironment roundEnv,
javax.annotation.processing.ProcessingEnvironment processingEnv) |
| Modifier and Type | Method | Description |
|---|---|---|
java.io.Reader |
getResource(java.lang.String resourcePath) |
|
java.io.Writer |
newClass(java.lang.String className) |
|
java.io.Writer |
newResource(java.lang.String resourcePath) |
|
void |
printError(java.lang.String message) |
|
void |
printError(java.lang.String message,
java.lang.Throwable throwable) |
|
void |
printError(java.lang.String message,
MetadataInfo element) |
|
void |
printNote(java.lang.String message) |
|
void |
printWarning(java.lang.String message) |
|
void |
printWarning(java.lang.String message,
java.lang.Throwable throwable) |
|
void |
printWarning(java.lang.String message,
MetadataInfo element) |
public APGeneratorDestinaton(javax.annotation.processing.RoundEnvironment roundEnv,
javax.annotation.processing.ProcessingEnvironment processingEnv)
public java.io.Writer newResource(java.lang.String resourcePath)
throws java.io.IOException
newResource in interface GeneratorDestinationjava.io.IOExceptionpublic java.io.Reader getResource(java.lang.String resourcePath)
throws java.io.IOException
getResource in interface GeneratorDestinationjava.io.IOExceptionpublic java.io.Writer newClass(java.lang.String className)
throws java.io.IOException
newClass in interface GeneratorDestinationjava.io.IOExceptionpublic void printError(java.lang.String message)
printError in interface GeneratorDestinationpublic void printError(java.lang.String message,
MetadataInfo element)
printError in interface GeneratorDestinationpublic void printError(java.lang.String message,
java.lang.Throwable throwable)
printError in interface GeneratorDestinationpublic void printWarning(java.lang.String message)
printWarning in interface GeneratorDestinationpublic void printWarning(java.lang.String message,
MetadataInfo element)
printWarning in interface GeneratorDestinationpublic void printWarning(java.lang.String message,
java.lang.Throwable throwable)
printWarning in interface GeneratorDestinationpublic void printNote(java.lang.String message)
printNote in interface GeneratorDestinationCopyright © 2017. All Rights Reserved.