Class RecordBuilder

java.lang.Object
javax.annotation.processing.AbstractProcessor
net.javahippie.jukebox.processor.RecordBuilder
All Implemented Interfaces:
javax.annotation.processing.Processor

@SupportedAnnotationTypes("net.javahippie.jukebox.annotation.Builder")
@SupportedSourceVersion(RELEASE_14)
public class RecordBuilder
extends javax.annotation.processing.AbstractProcessor
This class is used to process the net.javahippie.recordbuilders.annotation.Builder annotation. It will create a builder class for every record on the classpath that is annotated with that annotation.
  • Field Summary

    Fields inherited from class javax.annotation.processing.AbstractProcessor

    processingEnv
  • Constructor Summary

    Constructors 
    Constructor Description
    RecordBuilder()  
  • Method Summary

    Modifier and Type Method Description
    boolean process​(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations, javax.annotation.processing.RoundEnvironment roundEnv)  

    Methods inherited from class javax.annotation.processing.AbstractProcessor

    getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, init, isInitialized

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • process

      public boolean process​(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations, javax.annotation.processing.RoundEnvironment roundEnv)
      Specified by:
      process in interface javax.annotation.processing.Processor
      Specified by:
      process in class javax.annotation.processing.AbstractProcessor