Class RichTypeDef

  • All Implemented Interfaces:
    io.sundr.model.Annotatable, io.sundr.model.Attributeable, io.sundr.model.Commentable, io.sundr.model.Mappable<io.sundr.model.TypeDef>, io.sundr.model.Nameable, io.sundr.model.Node, io.sundr.model.Renderable

    public class RichTypeDef
    extends io.sundr.model.TypeDef
    • Field Summary

      • Fields inherited from class io.sundr.model.TypeDef

        ENUM, ENUM_REF, OBJECT, OBJECT_REF
      • Fields inherited from class io.sundr.model.ModifierSupport

        ABSTRACT, FINAL, modifiers, PRIVATE, PROTECTED, PUBLIC, STATIC, SYNCHRONIZED
      • Fields inherited from interface io.sundr.model.Attributeable

        ALSO_IMPORT, DEFAULT_VALUE, INIT, INIT_FUNCTION, LAZY_INIT
      • Fields inherited from interface io.sundr.model.Nameable

        IN_PACKAGE, IS_UPPER_CASE, OUT_OF_PACKAGE, PACKAGE_SEPARATOR_REGEX
      • Fields inherited from interface io.sundr.model.Node

        AT, CB, CC, CLP, COLN, COMA, CP, DOT, DQ, EMPTY, EQ, EXTENDS, GT, IMPLEMENTS, INDENT, JAVA_LANG, JAVA_LANG_ENUM, JAVA_LANG_OBJECT, JAVA_LANG_STRING, LT, NEWLINE, NEWLINE_PATTERN, OB, OC, OP, Q, SEMICOLN, SEMICOLN_SUFFIX_PATTERN, SPACE, STAR, THROWS, VARARG
    • Constructor Summary

      Constructors 
      Constructor Description
      RichTypeDef​(io.sundr.model.Kind kind, String packageName, String name, List<String> comments, List<io.sundr.model.AnnotationRef> annotations, List<io.sundr.model.ClassRef> extendsList, List<io.sundr.model.ClassRef> implementsList, List<io.sundr.model.TypeParamDef> parameters, List<io.sundr.model.Property> properties, List<io.sundr.model.Property> allProperties, List<io.sundr.model.Method> constructors, List<io.sundr.model.Method> allConstructors, List<io.sundr.model.Method> methods, List<io.sundr.model.Method> allMethods, String outerTypeName, List<io.sundr.model.TypeDef> innerTypes, io.sundr.model.Modifiers modifiers, Map<io.sundr.model.AttributeKey,​Object> attributes)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      List<io.sundr.model.Method> getAllConstructors()  
      List<io.sundr.model.Method> getAllMethods()  
      List<io.sundr.model.Property> getAllProperties()  
      • Methods inherited from class io.sundr.model.TypeDef

        equals, forName, getAnnotations, getComments, getConstructors, getExtendsList, getFullyQualifiedName, getImplementsList, getImports, getInnerTypes, getKind, getMethods, getName, getOuterTypeName, getPackageName, getParameters, getProperties, getReferences, hashCode, isAnnotation, isClass, isEnum, isInterface, render, renderDefinition, renderDefinition, toInternalReference, toReference, toReference, toReference, toString, toUnboundedReference
      • Methods inherited from class io.sundr.model.ModifierSupport

        getModifiers, isAbstract, isFinal, isNative, isPrivate, isProtected, isPublic, isStatic, isSynchronized, isTransient, renderModifiers, renderModifiers
      • Methods inherited from class io.sundr.model.AttributeSupport

        getAttribute, getAttributes, hasAttribute
      • Methods inherited from interface io.sundr.model.Annotatable

        renderAnnotations
      • Methods inherited from interface io.sundr.model.Commentable

        renderComments
      • Methods inherited from interface io.sundr.model.Mappable

        map
      • Methods inherited from interface io.sundr.model.Node

        indent
      • Methods inherited from interface io.sundr.model.Renderable

        tab
    • Constructor Detail

      • RichTypeDef

        public RichTypeDef​(io.sundr.model.Kind kind,
                           String packageName,
                           String name,
                           List<String> comments,
                           List<io.sundr.model.AnnotationRef> annotations,
                           List<io.sundr.model.ClassRef> extendsList,
                           List<io.sundr.model.ClassRef> implementsList,
                           List<io.sundr.model.TypeParamDef> parameters,
                           List<io.sundr.model.Property> properties,
                           List<io.sundr.model.Property> allProperties,
                           List<io.sundr.model.Method> constructors,
                           List<io.sundr.model.Method> allConstructors,
                           List<io.sundr.model.Method> methods,
                           List<io.sundr.model.Method> allMethods,
                           String outerTypeName,
                           List<io.sundr.model.TypeDef> innerTypes,
                           io.sundr.model.Modifiers modifiers,
                           Map<io.sundr.model.AttributeKey,​Object> attributes)
    • Method Detail

      • getAllProperties

        public List<io.sundr.model.Property> getAllProperties()
      • getAllConstructors

        public List<io.sundr.model.Method> getAllConstructors()
      • getAllMethods

        public List<io.sundr.model.Method> getAllMethods()