Package com.google.turbine.binder.bound
Class SourceBoundClass
- java.lang.Object
-
- com.google.turbine.binder.bound.SourceBoundClass
-
- All Implemented Interfaces:
BoundClass
public class SourceBoundClass extends java.lang.Object implements BoundClass
ABoundClassthat corresponds to a source file being compiled.
-
-
Constructor Summary
Constructors Constructor Description SourceBoundClass(ClassSymbol sym, @Nullable ClassSymbol owner, com.google.common.collect.ImmutableMap<java.lang.String,ClassSymbol> children, int access, Tree.TyDecl decl)
-
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).@Nullable ClassSymbolowner()The enclosing declaration for member types, ornullfor top-level declarations.ClassSymbolsym()
-
-
-
Constructor Detail
-
SourceBoundClass
public SourceBoundClass(ClassSymbol sym, @Nullable ClassSymbol owner, com.google.common.collect.ImmutableMap<java.lang.String,ClassSymbol> children, int access, Tree.TyDecl decl)
-
-
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
-
sym
public ClassSymbol sym()
-
-