Modifier and Type | Field and Description |
---|---|
Symbol.ClassSymbol |
Symtab.arrayClass
The builtin type of all arrays.
|
Symbol.ClassSymbol |
Symtab.boundClass
VGJ: The (singleton) type of all bound types.
|
Symbol.ClassSymbol |
Symtab.errSymbol
The error symbol.
|
Symbol.ClassSymbol |
Symtab.methodClass
The builtin type of all methods.
|
Symbol.ClassSymbol |
Symbol.PackageSymbol.package_info |
Symbol.ClassSymbol |
Symtab.predefClass
The class symbol that owns all predefined symbols.
|
Symbol.ClassSymbol |
Symtab.unknownSymbol
The unknown symbol.
|
Modifier and Type | Field and Description |
---|---|
Map<Name,Symbol.ClassSymbol> |
Symtab.classes
A hashtable containing the encountered top-level and member classes,
indexed by flat names.
|
List<Symbol.ClassSymbol> |
Symbol.ClassSymbol.trans_local
the list of translated local classes (used for generating
InnerClasses attribute)
|
Modifier and Type | Method and Description |
---|---|
Symbol.ClassSymbol |
Types.boxedClass(Type t)
Return the class that boxes the given primitive.
|
Symbol.ClassSymbol |
Symbol.DelegatedSymbol.enclClass() |
Symbol.ClassSymbol |
Symbol.enclClass()
The closest enclosing class of this symbol's declaration.
|
Symbol.ClassSymbol |
Types.makeFunctionalInterfaceClass(Env<AttrContext> env,
Name name,
List<Type> targets,
long cflags)
Create a symbol for a class that implements a given functional interface
and overrides its functional descriptor.
|
Symbol.ClassSymbol |
Symbol.DelegatedSymbol.outermostClass() |
Symbol.ClassSymbol |
Symbol.outermostClass()
The outermost class which indirectly owns this symbol.
|
Modifier and Type | Method and Description |
---|---|
Symbol.MethodSymbol |
Symbol.MethodSymbol.binaryImplementation(Symbol.ClassSymbol origin,
Types types)
The implementation of this (abstract) symbol in class origin,
from the VM's point of view, null if method does not have an
implementation in class.
|
protected void |
Types.SignatureGenerator.classReference(Symbol.ClassSymbol c) |
Type |
Types.createErrorType(Symbol.ClassSymbol c,
Type originalType) |
void |
Symtab.initType(Type type,
Symbol.ClassSymbol c) |
boolean |
Symbol.DelegatedSymbol.isEnclosedBy(Symbol.ClassSymbol clazz) |
boolean |
Symbol.isEnclosedBy(Symbol.ClassSymbol clazz)
Is this symbol the same as or enclosed by the given class?
|
String |
Printer.visitClassSymbol(Symbol.ClassSymbol sym,
Locale locale) |
R |
Symbol.Visitor.visitClassSymbol(Symbol.ClassSymbol s,
P arg) |
R |
Types.DefaultSymbolVisitor.visitClassSymbol(Symbol.ClassSymbol s,
S arg) |
Constructor and Description |
---|
ErrorType(Symbol.ClassSymbol c,
Type originalType) |
IntersectionClassType(List<Type> bounds,
Symbol.ClassSymbol csym,
boolean allInterfaces) |
Modifier and Type | Field and Description |
---|---|
Map<Name,Symbol.ClassSymbol> |
Check.compiled
A table mapping flat names of all compiled classes in this run to their
symbols; maintained from outside.
|
Map<Symbol.ClassSymbol,List<JCTree>> |
Lower.prunedTree
A hash table mapping local classes to a list of pruned trees.
|
Modifier and Type | Method and Description |
---|---|
void |
Attr.attribClass(JCDiagnostic.DiagnosticPosition pos,
Symbol.ClassSymbol c)
Main method: attribute class definition associated with given class symbol.
|
void |
Check.checkClassOverrideEqualsAndHashIfNeeded(JCDiagnostic.DiagnosticPosition pos,
Symbol.ClassSymbol someClass) |
void |
Check.checkFunctionalInterface(JCTree.JCClassDecl tree,
Symbol.ClassSymbol cs) |
void |
Enter.complete(List<JCTree.JCCompilationUnit> trees,
Symbol.ClassSymbol c)
Main method: enter one class from a list of toplevel trees and
place the rest on uncompleted for later processing.
|
protected void |
Enter.duplicateClass(JCDiagnostic.DiagnosticPosition pos,
Symbol.ClassSymbol c)
Complain about a duplicate class.
|
Symbol.MethodSymbol |
Attr.removeClinit(Symbol.ClassSymbol sym) |
Modifier and Type | Method and Description |
---|---|
Symbol.ClassSymbol |
ClassReader.defineClass(Name name,
Symbol owner)
Define a new class given its name and owner.
|
Symbol.ClassSymbol |
ClassReader.enterClass(Name flatname)
Create a new member or toplevel class symbol with given flat name
and enter in `classes' unless already there.
|
Symbol.ClassSymbol |
ClassReader.enterClass(Name name,
Symbol.TypeSymbol owner)
Create a new toplevel or member class symbol with given name
and owner and enter in `classes' unless already there.
|
Symbol.ClassSymbol |
ClassReader.enterClass(Name flatName,
JavaFileObject classFile)
Creates a new toplevel class symbol with given flat name and
given class (or source) file.
|
Symbol.ClassSymbol |
ClassReader.loadClass(Name flatname)
Load a toplevel class with given fully qualified name
The class is entered into `classes' only if load was successful.
|
Modifier and Type | Method and Description |
---|---|
void |
ClassReader.SourceCompleter.complete(Symbol.ClassSymbol sym) |
boolean |
JNIWriter.needsHeader(Symbol.ClassSymbol c) |
FileObject |
JNIWriter.write(Symbol.ClassSymbol c)
Emit a class file for a given class.
|
void |
JNIWriter.write(Writer out,
Symbol.ClassSymbol sym) |
JavaFileObject |
ClassWriter.writeClass(Symbol.ClassSymbol c)
Emit a class file for a given class.
|
void |
ClassWriter.writeClassFile(OutputStream out,
Symbol.ClassSymbol c)
Write class `c' to outstream `out'.
|
protected int |
ClassWriter.writeEnclosingMethodAttribute(Name attributeName,
Symbol.ClassSymbol c)
Write the EnclosingMethod attribute with a specified name.
|
protected int |
ClassWriter.writeExtraClassAttributes(Symbol.ClassSymbol c)
Allows subclasses to write additional class attributes
|
protected void |
JNIWriter.writeMethods(Writer out,
Symbol.ClassSymbol sym,
String cname) |
protected void |
JNIWriter.writeStatics(Writer out,
Symbol.ClassSymbol sym) |
Modifier and Type | Method and Description |
---|---|
void |
JavaCompiler.complete(Symbol.ClassSymbol c)
Complete compiling a source file that has been accessed
by the class file reader.
|
void |
JavaCompiler.reportPublicApi(Symbol.ClassSymbol sym)
Report the public api of a class that was supplied explicitly for compilation,
for example on the command line to javac.
|
Modifier and Type | Method and Description |
---|---|
Symbol.ClassSymbol |
JavacElements.getTypeElement(CharSequence name) |
Modifier and Type | Field and Description |
---|---|
Symbol.ClassSymbol |
JCTree.JCClassDecl.sym
the symbol
|
Modifier and Type | Method and Description |
---|---|
JCTree.JCExpression |
TreeMaker.ClassLiteral(Symbol.ClassSymbol clazz)
Create a tree representing a class literal.
|
Constructor and Description |
---|
JCClassDecl(JCTree.JCModifiers mods,
Name name,
List<JCTree.JCTypeParameter> typarams,
JCTree.JCExpression extending,
List<JCTree.JCExpression> implementing,
List<JCTree> defs,
Symbol.ClassSymbol sym) |
Modifier and Type | Method and Description |
---|---|
String |
RichDiagnosticFormatter.RichPrinter.visitClassSymbol(Symbol.ClassSymbol s,
Locale locale) |
Modifier and Type | Method and Description |
---|---|
void |
JavaCompilerWithDeps.reportPublicApi(Symbol.ClassSymbol sym)
Collect the public apis of classes supplied explicitly for compilation.
|
Copyright © 2017 earcam. All rights reserved.