Klasse SourceModule

Alle implementierten Schnittstellen:
IAnnotatable, IJavaElement, IMember, IModuleDescription, IParent, ISourceManipulation, ISourceReference, AbstractModule, org.eclipse.core.runtime.IAdaptable

public class SourceModule extends NamedMember implements AbstractModule
  • Konstruktordetails

  • Methodendetails

    • getFlags

      public int getFlags() throws JavaModelException
      Beschreibung aus Schnittstelle kopiert: IMember
      Returns the modifier flags for this member. The flags can be examined using class Flags.

      For binary members, flags from the class file as well as derived flags Flags.AccAnnotationDefault and Flags.AccDefaultMethod are included.

      For source members, only flags as indicated in the source are returned. Thus if an interface defines a method void myMethod();, the flags don't include the 'public' flag. Source flags include Flags.AccAnnotationDefault as well.

      Angegeben von:
      getFlags in Schnittstelle IMember
      Setzt außer Kraft:
      getFlags in Klasse Member
      Gibt zurück:
      the modifier flags for this member
      Löst aus:
      JavaModelException - if this element does not exist or if an exception occurs while accessing its corresponding resource.
      Siehe auch:
    • getHandleMementoDelimiter

      public char getHandleMementoDelimiter()
      Beschreibung aus Klasse kopiert: JavaElement
      Returns the char that marks the start of this handles contribution to a memento.
      Setzt außer Kraft:
      getHandleMementoDelimiter in Klasse Member
      Siehe auch:
    • getCategories

      public String[] getCategories() throws JavaModelException
      Beschreibung aus Schnittstelle kopiert: IMember
      Returns the categories defined by this member's Javadoc. A category is the identifier following the tag @category in the member's Javadoc. Returns an empty array if no category is defined in this member's Javadoc.
      Angegeben von:
      getCategories in Schnittstelle IMember
      Setzt außer Kraft:
      getCategories in Klasse Member
      Gibt zurück:
      the categories defined by this member's doc
      Löst aus:
      JavaModelException - if this element does not exist or if an exception occurs while accessing its corresponding resource.
    • toString

      public String toString(String lineDelimiter)
      Angegeben von:
      toString in Schnittstelle AbstractModule