Class FuncEnumerator


  • public class FuncEnumerator
    extends java.lang.Object
    This enumerator receives stateful updates out of order from the annotation processor and constructs consistent view of document models for listeners.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static interface  FuncEnumerator.Listener
      These Listeners handle data that has been found by the FuncEnumerator.
    • Constructor Summary

      Constructors 
      Constructor Description
      FuncEnumerator​(javax.lang.model.util.Types types, javax.lang.model.util.Elements elements, javax.annotation.processing.Filer filer)  
    • Method Summary

      Modifier and Type Method Description
      void addListener​(FuncEnumerator.Listener listener)  
      void flush()  
      void onApplyTypes​(java.lang.String inType, java.lang.String outType)  
      void onCategories​(io.virtdata.annotations.Category[] categories)  
      void onClass​(java.lang.String packageName, java.lang.String simpleClassName, java.lang.String classJavadoc)  
      void onConstructor​(java.util.LinkedHashMap<java.lang.String,​java.lang.String> args, java.lang.String ctorJavaDoc, java.util.List<java.util.List<java.lang.String>> examples)  
      • Methods inherited from class java.lang.Object

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

      • FuncEnumerator

        public FuncEnumerator​(javax.lang.model.util.Types types,
                              javax.lang.model.util.Elements elements,
                              javax.annotation.processing.Filer filer)
    • Method Detail

      • onClass

        public void onClass​(java.lang.String packageName,
                            java.lang.String simpleClassName,
                            java.lang.String classJavadoc)
      • onApplyTypes

        public void onApplyTypes​(java.lang.String inType,
                                 java.lang.String outType)
      • onConstructor

        public void onConstructor​(java.util.LinkedHashMap<java.lang.String,​java.lang.String> args,
                                  java.lang.String ctorJavaDoc,
                                  java.util.List<java.util.List<java.lang.String>> examples)
      • flush

        public void flush()
      • onCategories

        public void onCategories​(io.virtdata.annotations.Category[] categories)