org.eclipse.jdt.internal.compiler.apt.model
Class PackageElementImpl

java.lang.Object
  extended by org.eclipse.jdt.internal.compiler.apt.model.ElementImpl
      extended by org.eclipse.jdt.internal.compiler.apt.model.PackageElementImpl
All Implemented Interfaces:
Element, PackageElement, IElementInfo

public class PackageElementImpl
extends ElementImpl
implements PackageElement

Implementation of PackageElement, which represents a package


Field Summary
 
Fields inherited from class org.eclipse.jdt.internal.compiler.apt.model.ElementImpl
_binding, _env
 
Method Summary
<R,P> R
accept(ElementVisitor<R,P> v, P p)
           
protected  AnnotationBinding[] getAnnotationBindings()
           
 List<? extends Element> getEnclosedElements()
           
 Element getEnclosingElement()
           
 ElementKind getKind()
           
 Name getQualifiedName()
           
 Name getSimpleName()
           
 boolean isUnnamed()
           
 
Methods inherited from class org.eclipse.jdt.internal.compiler.apt.model.ElementImpl
asType, equals, getAnnotation, getAnnotationMirrors, getFileName, getModifiers, hashCode, hides, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.lang.model.element.Element
asType, equals, getAnnotation, getAnnotationMirrors, getModifiers, hashCode
 

Method Detail

accept

public <R,P> R accept(ElementVisitor<R,P> v,
                      P p)
Specified by:
accept in interface Element

getAnnotationBindings

protected AnnotationBinding[] getAnnotationBindings()
Specified by:
getAnnotationBindings in class ElementImpl
Returns:
the set of compiler annotation bindings on this element

getEnclosedElements

public List<? extends Element> getEnclosedElements()
Specified by:
getEnclosedElements in interface Element

getEnclosingElement

public Element getEnclosingElement()
Specified by:
getEnclosingElement in interface Element

getKind

public ElementKind getKind()
Specified by:
getKind in interface Element

getSimpleName

public Name getSimpleName()
Specified by:
getSimpleName in interface Element
Overrides:
getSimpleName in class ElementImpl

getQualifiedName

public Name getQualifiedName()
Specified by:
getQualifiedName in interface PackageElement

isUnnamed

public boolean isUnnamed()
Specified by:
isUnnamed in interface PackageElement


Copyright © 2012. All Rights Reserved.