public static class Symbol.PackageSymbol extends Symbol.TypeSymbol implements PackageElement
Symbol.ClassSymbol, Symbol.Completer, Symbol.CompletionFailure, Symbol.DelegatedSymbol<T extends Symbol>, Symbol.DynamicMethodSymbol, Symbol.MethodSymbol, Symbol.OperatorSymbol, Symbol.PackageSymbol, Symbol.TypeSymbol, Symbol.TypeVariableSymbol, Symbol.VarSymbol, Symbol.Visitor<R,P>
Modifier and Type | Field and Description |
---|---|
Name |
fullname |
Scope |
members_field |
Symbol.ClassSymbol |
package_info |
completer, erasure_field, flags_field, kind, metadata, name, owner, type
Constructor and Description |
---|
PackageSymbol(Name name,
Symbol owner) |
PackageSymbol(Name name,
Type type,
Symbol owner) |
Modifier and Type | Method and Description |
---|---|
<R,P> R |
accept(ElementVisitor<R,P> v,
P p) |
<R,P> R |
accept(Symbol.Visitor<R,P> v,
P p) |
boolean |
exists()
A package "exists" if a type or package that exists has
been seen within it.
|
long |
flags()
An accessor method for the flags of this symbol.
|
Symbol |
getEnclosingElement() |
ElementKind |
getKind() |
Name |
getQualifiedName()
The fully qualified name of this symbol.
|
List<Attribute.Compound> |
getRawAttributes()
An accessor method for the attributes of this symbol.
|
boolean |
isUnnamed() |
Scope |
members()
If this is a class or package, its members, otherwise null.
|
String |
toString()
The Java source which this symbol represents.
|
formFlatName, formFullName, getEnclosedElements, precedes
annotationsPendingCompletion, appendAttributes, appendClassInitTypeAttributes, appendInitTypeAttributes, appendTypeAttributesWithCompletion, appendUniqueTypeAttributes, asMemberOf, asType, attribute, baseSymbol, clone, complete, enclClass, erasure, externalType, flatName, getAnnotationMirrors, getClassInitTypeAttributes, getDeclarationAttributes, getInitTypeAttributes, getMetadata, getModifiers, getRawTypeAttributes, getSimpleName, getTypeParameters, hasAnnotations, hasOuterInstance, hasTypeAnnotations, isAnonymous, isConstructor, isDeprecated, isEnclosedBy, isEnum, isInheritedIn, isInner, isInterface, isLocal, isMemberOf, isPrivate, isStatic, isSubClass, location, location, outermostClass, overrides, packge, prependAttributes, resetAnnotations, setAttributes, setDeclarationAttributes, setDeclarationAttributesWithCompletion, setTypeAttributes
getAnnotation, getAnnotationsByType, getAttribute, getInheritedAnnotations
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEnclosedElements, getSimpleName
asType, equals, getAnnotation, getAnnotationMirrors, getModifiers, hashCode
getAnnotationsByType
public Scope members_field
public Name fullname
public Symbol.ClassSymbol package_info
public String toString()
Symbol
public Name getQualifiedName()
Symbol
getQualifiedName
in interface PackageElement
getQualifiedName
in interface QualifiedNameable
getQualifiedName
in class Symbol
public boolean isUnnamed()
isUnnamed
in interface PackageElement
public Scope members()
Symbol
public long flags()
Symbol
public List<Attribute.Compound> getRawAttributes()
Symbol
getRawAttributes
in class Symbol
public boolean exists()
public ElementKind getKind()
public Symbol getEnclosingElement()
getEnclosingElement
in interface Element
getEnclosingElement
in interface PackageElement
getEnclosingElement
in class Symbol
public <R,P> R accept(ElementVisitor<R,P> v, P p)
public <R,P> R accept(Symbol.Visitor<R,P> v, P p)
accept
in class Symbol.TypeSymbol
Copyright © 2017 earcam. All rights reserved.