Java org.eclipse.jdt.core IPackageDeclaration fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jdt.core IPackageDeclaration fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jdt.core IPackageDeclaration.

The text is from its open source code.

Implementation

org.eclipse.jdt.core.IPackageDeclaration has the following implementations.
Click this link to see all its implementation.

Method

IJavaElementgetAncestor(int ancestorType)
Returns this Java element or the first ancestor of this element that has the given type.
StringgetElementName()
Returns the name of the package the statement refers to.
IJavaElementgetParent()
Returns the element directly containing this element, or null if this element has no parent.