Schnittstelle IPackageDeclaration

Alle Superschnittstellen:
org.eclipse.core.runtime.IAdaptable, IAnnotatable, IJavaElement, ISourceReference
Alle bekannten Implementierungsklassen:
AssistPackageDeclaration, PackageDeclaration

public interface IPackageDeclaration extends IJavaElement, ISourceReference, IAnnotatable
Represents a package declaration in Java compilation unit.
  • Methodendetails

    • getElementName

      String getElementName()
      Returns the name of the package the statement refers to. This is a handle-only method.
      Angegeben von:
      getElementName in Schnittstelle IJavaElement
      Gibt zurück:
      the name of the package the statement