Class TypePartCollector<T extends ModelElement,​D extends PartDescriptor<T>>

    • Field Detail

      • NO_NAMES

        protected static final java.lang.String[] NO_NAMES
    • Constructor Detail

      • TypePartCollector

        public TypePartCollector​(java.util.List<AnnotationProcessor<?,​D>> annotationAccessors)
    • Method Detail

      • createParts

        public java.util.LinkedHashMap<java.lang.String,​T> createParts​(ModelElement parentModel)
      • addPart

        protected void addPart​(java.util.LinkedHashMap<java.lang.String,​T> result,
                               T part)
      • getNames

        protected abstract java.lang.String[] getNames​(AnnotatedDeclaration annotatedDeclaration)
      • createDescriptor

        protected abstract D createDescriptor()
      • readAnnotations

        public void readAnnotations​(AnnotatedDeclaration annotatedDeclaration,
                                    java.lang.reflect.AnnotatedElement annotatedElement)
      • getDescriptor

        protected D getDescriptor​(java.lang.String name,
                                  java.lang.String typeName)
      • getDescriptors

        protected java.util.LinkedHashMap<java.lang.String,​D> getDescriptors()