Interface MemberDeclaration

    • Method Detail

      • getDocComment

        java.lang.String getDocComment()
        Returns:
        the JavaDoc comment
      • getVisibility

        Visibility getVisibility()
        Returns:
        the visibility of this member
      • getDeclaringType

        TypeDeclaration getDeclaringType()
        Returns:
        the type declaring this member or null if this is a top level element
      • getModifiers

        java.util.Set<Modifier> getModifiers()
        Returns:
        the modifiers of this Xtend element or an empty set of this is a Java element. E.g. public val foo = "foo" has the modifiers Modifier.VAL and Modifier.PUBLIC
        Since:
        2.7
      • isDeprecated

        boolean isDeprecated()
        Returns true if this member is marked as deprecated.
        Returns:
        true if this member is marked as deprecated.
        Since:
        2.7