Satisfied Interfaces: Annotated, AnnotatedDeclaration, Declaration, Identifiable

Model of a `package` declaration from a `package.ceylon` compilation unit

Attributes
container | Source Code shared formal Module container The module this package belongs to.
shared | Source Code shared formal Boolean shared True if this package is shared.

Inherited Attributes
Attributes inherited from: Object hash, string
Attributes inherited from: Declaration name, qualifiedName
Attributes inherited from: Identifiable hash

Methods
annotatedMembers | Source Code shared formal Kind[] annotatedMembers<Kind, Annotation>() given Kind satisfies NestableDeclaration Returns the list of member declarations that satisfy the given `Kind` type argument and that are annotated with the given `Annotation` type argument
getAlias | Source Code shared formal AliasDeclaration? getAlias(String name) The type alias with the given name. Returns `null` if not found.
getClassOrInterface | Source Code shared formal ClassOrInterfaceDeclaration? getClassOrInterface(String name) The class or interface with the given name. Returns `null` if not found.
getFunction | Source Code shared formal FunctionDeclaration? getFunction(String name) The function with the given name. Returns `null` if not found.
getMember | Source Code shared formal Kind? getMember<Kind>(String name) given Kind satisfies NestableDeclaration Looks up a member declaration by name, provided it satisfies the given `Kind` type argument. Returns `null` if no such member matches.
getValue | Source Code shared formal ValueDeclaration? getValue(String name) The value with the given name. Returns `null` if not found.
members | Source Code shared formal Kind[] members<Kind>() given Kind satisfies NestableDeclaration Returns the list of member declarations that satisfy the given `Kind` type argument.

Inherited Methods
Methods inherited from: Object equals
Methods inherited from: AnnotatedDeclaration annotations
Methods inherited from: Identifiable equals