Class ProtoTypeMetadata

    • Constructor Detail

      • ProtoTypeMetadata

        protected ProtoTypeMetadata​(String name,
                                    XClass javaClass)
    • Method Detail

      • validateName

        protected void validateName()
      • getName

        public String getName()
      • getFullName

        public String getFullName()
      • getDocumentation

        public String getDocumentation()
      • getProtoDocs

        public String getProtoDocs()
      • getProtoTypeId

        public Integer getProtoTypeId()
      • getJavaClass

        public XClass getJavaClass()
      • getJavaClassName

        public String getJavaClassName()
      • getAnnotatedClass

        public XClass getAnnotatedClass()
        At this level we pretend the Java class and the annotated class are one and the same, but subclasses may decide otherwise.
      • getAnnotatedClassName

        public String getAnnotatedClassName()
      • isAdapter

        public boolean isAdapter()
      • isImported

        public boolean isImported()
        Indicates if this type comes from the currently processed/generated schema of from an external schema.
      • getFileName

        public String getFileName()
        The schema file where this type comes from. Must be non-null for all imported types, can be null for others.
      • isEnum

        public abstract boolean isEnum()
      • scanMemberAnnotations

        public void scanMemberAnnotations()
      • appendDocumentation

        protected static void appendDocumentation​(IndentWriter iw,
                                                  String documentation)