Class MemoizeExtension.Generator

  • Enclosing class:
    MemoizeExtension

    static final class MemoizeExtension.Generator
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Generator​(AutoValueExtension.Context context, java.lang.String className, java.lang.String classToExtend, boolean isFinal)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private com.squareup.javapoet.MethodSpec constructor()  
      (package private) java.lang.String generate()  
      private com.squareup.javapoet.TypeName superType()  
      private com.google.common.collect.ImmutableList<com.squareup.javapoet.TypeVariableName> typeVariableNames()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • className

        private final java.lang.String className
      • classToExtend

        private final java.lang.String classToExtend
      • isFinal

        private final boolean isFinal
      • elements

        private final javax.lang.model.util.Elements elements
      • sourceVersion

        private final javax.lang.model.SourceVersion sourceVersion
      • messager

        private final javax.annotation.processing.Messager messager
      • lazyInitAnnotation

        private final java.util.Optional<com.squareup.javapoet.AnnotationSpec> lazyInitAnnotation
      • hasErrors

        private boolean hasErrors
    • Constructor Detail

      • Generator

        Generator​(AutoValueExtension.Context context,
                  java.lang.String className,
                  java.lang.String classToExtend,
                  boolean isFinal)
    • Method Detail

      • generate

        java.lang.String generate()
      • superType

        private com.squareup.javapoet.TypeName superType()
      • typeVariableNames

        private com.google.common.collect.ImmutableList<com.squareup.javapoet.TypeVariableName> typeVariableNames()
      • constructor

        private com.squareup.javapoet.MethodSpec constructor()