Class SimpleGroovyAbstractableElementDoc

All Implemented Interfaces:
Comparable<GroovyDoc>, GroovyDoc, GroovyProgramElementDoc
Direct Known Subclasses:
SimpleGroovyClassDoc, SimpleGroovyMemberDoc

public class SimpleGroovyAbstractableElementDoc extends SimpleGroovyProgramElementDoc
Base implementation for documented elements that can carry the abstract modifier.
  • Constructor Details

    • SimpleGroovyAbstractableElementDoc

      public SimpleGroovyAbstractableElementDoc(String name)
      Creates a documented element with the supplied name.
      Parameters:
      name - the element name
  • Method Details

    • setAbstract

      public void setAbstract(boolean b)
      Sets whether this element is abstract.
      Parameters:
      b - true if the element is abstract
    • isAbstract

      public boolean isAbstract()
      Indicates whether this element is abstract.
      Returns:
      true if the element is abstract