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