Class JMemberDecl

java.lang.Object
com.inductiveautomation.snap.javatree.JNode
com.inductiveautomation.snap.javatree.JMemberDecl
Direct Known Subclasses:
JClassDecl, JClassStaticDecl, JFieldDecl, JMethodDecl

public class JMemberDecl extends JNode
A JNode for type members: Initializer, TypeDeclaration, EnumDeclaration, ConstructorDeclaration, FieldDeclaration, MedthodDeclaration, AnnotationTypeDeclaration. For JavaParseRule: ClassOrInterfaceBodyDeclaration.
  • Constructor Details

    • JMemberDecl

      public JMemberDecl()
  • Method Details

    • getNameImpl

      protected String getNameImpl()
      Returns the member name.
      Overrides:
      getNameImpl in class JNode
    • getModifiers

      public int getModifiers()
      Returns the modifiers.
    • setModifiers

      public void setModifiers(int aValue)
      Sets the modifiers.
    • getIdentifier

      public JIdentifier getIdentifier()
      Returns the identifier.
    • setIdentifier

      public void setIdentifier(JIdentifier anId)
      Sets the identifier.
    • getDeclaringClass

      public Class getDeclaringClass()
      Returns the declaring class.
    • getTypeParameters

      public List<JTypeParam> getTypeParameters()
      Returns the type parameters for this member.
    • getTypeParameter

      public JTypeParam getTypeParameter(String aName)
      Returns the type parameters for this member.
    • getSuperMember

      public Member getSuperMember()
      Returns the member that this member overrides or implements, if available.
    • getSuperMemberImpl

      protected Member getSuperMemberImpl()
      Returns the member that this member overrides or implements, if available.