Package com.google.turbine.binder.bound
Class PackageSourceBoundClass
- java.lang.Object
-
- com.google.turbine.binder.bound.PackageSourceBoundClass
-
- All Implemented Interfaces:
BoundClass
public class PackageSourceBoundClass extends java.lang.Object implements BoundClass
ABoundClasswith shared lookup scopes for the current compilation unit and package.
-
-
Constructor Summary
Constructors Constructor Description PackageSourceBoundClass(SourceBoundClass base, ImportScope scope, MemberImportIndex memberImports, SourceFile source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intaccess()Class access bits (see JVMS table 4.1).com.google.common.collect.ImmutableMap<java.lang.String,ClassSymbol>children()Member type declarations, by simple name.Tree.TyDecldecl()TurbineTyKindkind()The kind of declared type (class, interface, enum, or annotation).MemberImportIndexmemberImports()The static member import index for the enclosing compilation unit.@Nullable ClassSymbolowner()The enclosing declaration for member types, ornullfor top-level declarations.ImportScopescope()SourceFilesource()The source file.
-
-
-
Constructor Detail
-
PackageSourceBoundClass
public PackageSourceBoundClass(SourceBoundClass base, ImportScope scope, MemberImportIndex memberImports, SourceFile source)
-
-
Method Detail
-
decl
public Tree.TyDecl decl()
-
kind
public TurbineTyKind kind()
Description copied from interface:BoundClassThe kind of declared type (class, interface, enum, or annotation).- Specified by:
kindin interfaceBoundClass
-
owner
public @Nullable ClassSymbol owner()
Description copied from interface:BoundClassThe enclosing declaration for member types, ornullfor top-level declarations.- Specified by:
ownerin interfaceBoundClass
-
access
public int access()
Description copied from interface:BoundClassClass access bits (see JVMS table 4.1).- Specified by:
accessin interfaceBoundClass
-
children
public com.google.common.collect.ImmutableMap<java.lang.String,ClassSymbol> children()
Description copied from interface:BoundClassMember type declarations, by simple name.- Specified by:
childrenin interfaceBoundClass
-
scope
public ImportScope scope()
-
memberImports
public MemberImportIndex memberImports()
The static member import index for the enclosing compilation unit.
-
source
public SourceFile source()
The source file.
-
-