Klasse AssistPackageDeclaration

Alle implementierten Schnittstellen:
IAnnotatable, IJavaElement, IPackageDeclaration, ISourceReference, org.eclipse.core.runtime.IAdaptable

public class AssistPackageDeclaration extends PackageDeclaration
  • Konstruktordetails

  • Methodendetails

    • getElementInfo

      public Object getElementInfo(org.eclipse.core.runtime.IProgressMonitor monitor) throws JavaModelException
      Beschreibung aus Klasse kopiert: JavaElement
      Returns the info for this handle. If this element is not already open, it and all of its parents are opened. Does not return null. NOTE: BinaryType infos are NOT rooted under JavaElementInfo.
      Setzt außer Kraft:
      getElementInfo in Klasse JavaElement
      Löst aus:
      JavaModelException - if the element is not present or not accessible
    • getAnnotation

      public IAnnotation getAnnotation(String name)
      Beschreibung aus Schnittstelle kopiert: IAnnotatable
      Returns the annotation with the given name declared on this element. This is a handle-only method. The annotation may or may not exist.
      Angegeben von:
      getAnnotation in Schnittstelle IAnnotatable
      Setzt außer Kraft:
      getAnnotation in Klasse SourceRefElement
      Parameter:
      name - the given simple name
      Gibt zurück:
      the annotation with the given name declared on this element