Class Declaration

    • Constructor Detail

      • Declaration

        protected Declaration​(@Nullable
                              java.lang.String documentation,
                              @Nonnull
                              ThriftToken nameToken,
                              @Nullable
                              java.util.List<AnnotationDeclaration> annotations)
    • Method Detail

      • getDocumentation

        @Nullable
        public java.lang.String getDocumentation()
        Returns:
        Documentation for the specific declaration.
      • getName

        @Nonnull
        public java.lang.String getName()
        Returns:
        Declared name.
      • getNameToken

        @Nonnull
        public ThriftToken getNameToken()
        Returns:
        The token where the name is declared.
      • getAnnotations

        @Nonnull
        public java.util.List<AnnotationDeclaration> getAnnotations()
        Returns:
        Annotations related to the declaration.