org.openjdk.jmh.generators.annotations
Class APGeneratorDestinaton

java.lang.Object
  extended by org.openjdk.jmh.generators.annotations.APGeneratorDestinaton
All Implemented Interfaces:
GeneratorDestination

public class APGeneratorDestinaton
extends Object
implements GeneratorDestination


Constructor Summary
APGeneratorDestinaton(RoundEnvironment roundEnv, ProcessingEnvironment processingEnv)
           
 
Method Summary
 Writer newClass(String className)
           
 Writer newResource(String resourcePath)
           
 void printError(String message)
           
 void printError(String message, MetadataInfo element)
           
 void printError(String message, Throwable throwable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

APGeneratorDestinaton

public APGeneratorDestinaton(RoundEnvironment roundEnv,
                             ProcessingEnvironment processingEnv)
Method Detail

newResource

public Writer newResource(String resourcePath)
                   throws IOException
Specified by:
newResource in interface GeneratorDestination
Throws:
IOException

newClass

public Writer newClass(String className)
                throws IOException
Specified by:
newClass in interface GeneratorDestination
Throws:
IOException

printError

public void printError(String message)
Specified by:
printError in interface GeneratorDestination

printError

public void printError(String message,
                       MetadataInfo element)
Specified by:
printError in interface GeneratorDestination

printError

public void printError(String message,
                       Throwable throwable)
Specified by:
printError in interface GeneratorDestination


Copyright © 2014. All Rights Reserved.