Modifier and Type | Field and Description |
---|---|
Name[] |
Symtab.boxedName
The name of the class that belongs to a basix type tag.
|
Name |
Symbol.ClassSymbol.flatname
the fully qualified name of the class after converting to flat
representation, i.e.
|
Name |
Symbol.ClassSymbol.fullname
the fully qualified name of the class, i.e.
|
Name |
Symbol.PackageSymbol.fullname |
Name |
Symbol.name
The name of this symbol in Utf8 representation.
|
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.
|
Set<Name> |
Symtab.operatorNames
A set containing all operator names.
|
Map<Name,Symbol.PackageSymbol> |
Symtab.packages
A hashtable containing the encountered packages.
|
List<Name> |
Symbol.MethodSymbol.savedParameterNames
The names of the parameters
|
Modifier and Type | Method and Description |
---|---|
Name |
Symbol.ClassSymbol.flatName() |
Name |
Symbol.DelegatedSymbol.flatName() |
Name |
Symbol.flatName()
The fully qualified name of this symbol after converting to flat
representation.
|
static Name |
Symbol.TypeSymbol.formFlatName(Name name,
Symbol owner)
form a fully qualified name from a name and an owner, after
converting to flat representation
|
static Name |
Symbol.TypeSymbol.formFullName(Name name,
Symbol owner)
form a fully qualified name from a name and an owner
|
Name |
Symbol.ClassSymbol.getQualifiedName() |
Name |
Symbol.DelegatedSymbol.getQualifiedName() |
Name |
Symbol.getQualifiedName()
The fully qualified name of this symbol.
|
Name |
Symbol.PackageSymbol.getQualifiedName() |
Name |
Symbol.getSimpleName() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
Types.SignatureGenerator.append(Name name) |
Type |
Types.createErrorType(Name name,
Symbol.TypeSymbol container,
Type originalType) |
static Name |
Symbol.TypeSymbol.formFlatName(Name name,
Symbol owner)
form a fully qualified name from a name and an owner, after
converting to flat representation
|
static Name |
Symbol.TypeSymbol.formFullName(Name name,
Symbol owner)
form a fully qualified name from a name and an owner
|
Iterable<Symbol> |
Scope.CompoundScope.getElementsByName(Name name,
Filter<Symbol> sf) |
Iterable<Symbol> |
Scope.getElementsByName(Name name) |
Iterable<Symbol> |
Scope.getElementsByName(Name name,
Filter<Symbol> sf) |
Scope.Entry |
Scope.CompoundScope.lookup(Name name,
Filter<Symbol> sf) |
Scope.Entry |
Scope.DelegatedScope.lookup(Name name) |
Scope.Entry |
Scope.ErrorScope.lookup(Name name) |
Scope.Entry |
Scope.lookup(Name name)
Return the entry associated with given name, starting in
this scope and proceeding outwards.
|
Scope.Entry |
Scope.lookup(Name name,
Filter<Symbol> sf) |
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.
|
Attribute |
Attribute.Compound.member(Name member) |
Constructor and Description |
---|
CapturedType(Name name,
Symbol owner,
Type upper,
Type lower,
Type.WildcardType wildcard) |
ClassSymbol(long flags,
Name name,
Symbol owner) |
ClassSymbol(long flags,
Name name,
Type type,
Symbol owner) |
DynamicMethodSymbol(Name name,
Symbol owner,
int bsmKind,
Symbol.MethodSymbol bsm,
Type type,
Object[] staticArgs) |
ErrorType(Name name,
Symbol.TypeSymbol container,
Type originalType) |
MethodSymbol(long flags,
Name name,
Type type,
Symbol owner)
Construct a method symbol, given its flags, name, type and owner.
|
OperatorSymbol(Name name,
Type type,
int opcode,
Symbol owner) |
PackageSymbol(Name name,
Symbol owner) |
PackageSymbol(Name name,
Type type,
Symbol owner) |
Symbol(int kind,
long flags,
Name name,
Type type,
Symbol owner)
Construct a symbol with given kind, flags, name, type and owner.
|
TypeSymbol(int kind,
long flags,
Name name,
Type type,
Symbol owner) |
TypeVar(Name name,
Symbol owner,
Type lower) |
TypeVariableSymbol(long flags,
Name name,
Type type,
Symbol owner) |
VarSymbol(long flags,
Name name,
Type type,
Symbol owner)
Construct a variable symbol, given its flags, name, type and owner.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Symbol.VarSymbol |
Resolve.resolveInternalField(JCDiagnostic.DiagnosticPosition pos,
Env<AttrContext> env,
Type site,
Name name)
Resolve a field identifier, throw a fatal error if not found.
|
Symbol.MethodSymbol |
Resolve.resolveInternalMethod(JCDiagnostic.DiagnosticPosition pos,
Env<AttrContext> env,
Type site,
Name name,
List<Type> argtypes,
List<Type> typeargtypes)
Resolve a qualified method identifier, throw a fatal error if not
found.
|
Modifier and Type | Field and Description |
---|---|
protected Name |
ClassReader.AttributeReader.name |
Modifier and Type | Field and Description |
---|---|
protected Map<Name,ClassReader.AttributeReader> |
ClassReader.attributeReaders |
Modifier and Type | Method and Description |
---|---|
Name |
ClassWriter.xClassName(Type t)
Given a type t, return the extended class name of its erasure in
external representation.
|
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.PackageSymbol |
ClassReader.enterPackage(Name fullname)
Make a package, given its fully qualified name.
|
Symbol.PackageSymbol |
ClassReader.enterPackage(Name name,
Symbol.PackageSymbol owner)
Make a package, given its unqualified name and enclosing package.
|
static byte[] |
ClassFile.externalize(Name name)
Return external representation of given name,
converting '/' to '.'.
|
static byte[] |
ClassFile.internalize(Name name)
Return internal representation of given name,
converting '/' to '.'.
|
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.
|
boolean |
ClassReader.packageExists(Name fullname)
Check to see if a package exists, given its fully qualified name.
|
protected int |
ClassWriter.writeEnclosingMethodAttribute(Name attributeName,
Symbol.ClassSymbol c)
Write the EnclosingMethod attribute with a specified name.
|
Constructor and Description |
---|
AttributeReader(Name name,
ClassFile.Version version,
Set<ClassReader.AttributeKind> kinds) |
Modifier and Type | Field and Description |
---|---|
protected Name |
JavaCompiler.completionFailureName
Force a completion failure on this name
|
Modifier and Type | Method and Description |
---|---|
Name |
JavacElements.getBinaryName(TypeElement type) |
Name |
JavacElements.getName(CharSequence cs) |
Modifier and Type | Field and Description |
---|---|
protected Name |
JavaTokenizer.name
The token's name, set by nextToken().
|
Modifier and Type | Method and Description |
---|---|
Name |
Tokens.Token.name() |
protected Name |
DocCommentParser.readIdentifier() |
protected Name |
DocCommentParser.readJavaIdentifier() |
protected Name |
DocCommentParser.readTagName() |
Modifier and Type | Method and Description |
---|---|
protected List<JCTree> |
JavacParser.classOrInterfaceBodyDeclaration(Name className,
boolean isInterface)
ClassBodyDeclaration =
";"
| [STATIC] Block
| ModifiersOpt
( Type Ident
( VariableDeclaratorsRest ";" | MethodDeclaratorRest )
| VOID Ident MethodDeclaratorRest
| TypeParameters (Type | VOID) Ident MethodDeclaratorRest
| Ident ConstructorDeclaratorRest
| TypeParameters Ident ConstructorDeclaratorRest
| ClassOrInterfaceOrEnumDeclaration
)
InterfaceBodyDeclaration =
";"
| ModifiersOpt Type Ident
( ConstantDeclaratorsRest | InterfaceMethodDeclaratorRest ";" )
|
protected boolean |
DocCommentParser.isSentenceBreak(Name n) |
protected JCTree |
JavacParser.methodDeclaratorRest(int pos,
JCTree.JCModifiers mods,
JCTree.JCExpression type,
Name name,
List<JCTree.JCTypeParameter> typarams,
boolean isInterface,
boolean isVoid,
Tokens.Comment dc)
MethodDeclaratorRest =
FormalParameters BracketsOpt [Throws TypeList] ( MethodBody | [DEFAULT AnnotationValue] ";")
VoidMethodDeclaratorRest =
FormalParameters [Throws TypeList] ( MethodBody | ";")
InterfaceMethodDeclaratorRest =
FormalParameters BracketsOpt [THROWS TypeList] ";"
VoidInterfaceMethodDeclaratorRest =
FormalParameters [THROWS TypeList] ";"
ConstructorDeclaratorRest =
"(" FormalParameterListOpt ")" [THROWS TypeList] MethodBody
|
Modifier and Type | Field and Description |
---|---|
Name |
JCTree.JCBreak.label |
Name |
JCTree.JCContinue.label |
Name |
JCTree.JCLabeledStatement.label |
Name |
DCTree.DCReference.memberName |
Name |
DCTree.DCAttribute.name |
Name |
DCTree.DCEndElement.name |
Name |
DCTree.DCEntity.name |
Name |
DCTree.DCIdentifier.name |
Name |
DCTree.DCStartElement.name |
Name |
DCTree.DCUnknownBlockTag.name |
Name |
DCTree.DCUnknownInlineTag.name |
Name |
JCTree.JCClassDecl.name
the name of the class
|
Name |
JCTree.JCFieldAccess.name
name of field to select thru
|
Name |
JCTree.JCIdent.name
the name
|
Name |
JCTree.JCMemberReference.name |
Name |
JCTree.JCMethodDecl.name
method name
|
Name |
JCTree.JCTypeParameter.name
name
|
Name |
JCTree.JCVariableDecl.name
variable name
|
Modifier and Type | Method and Description |
---|---|
static Name |
TreeInfo.calledMethodName(JCTree tree)
If the expression is a method call, return the method name, null
otherwise.
|
static Name |
TreeInfo.fullName(JCTree tree)
If this tree is a qualified identifier, its return fully qualified name,
otherwise return null.
|
Name |
JCTree.JCFieldAccess.getIdentifier() |
Name |
JCTree.JCBreak.getLabel() |
Name |
JCTree.JCContinue.getLabel() |
Name |
JCTree.JCLabeledStatement.getLabel() |
Name |
DCTree.DCAttribute.getName() |
Name |
DCTree.DCEndElement.getName() |
Name |
DCTree.DCEntity.getName() |
Name |
DCTree.DCIdentifier.getName() |
Name |
DCTree.DCStartElement.getName() |
Name |
JCTree.JCIdent.getName() |
Name |
JCTree.JCMemberReference.getName() |
Name |
JCTree.JCMethodDecl.getName() |
Name |
JCTree.JCTypeParameter.getName() |
Name |
JCTree.JCVariableDecl.getName() |
Name |
JCTree.JCClassDecl.getSimpleName() |
static Name |
TreeInfo.name(JCTree tree)
If this tree is an identifier or a field or a parameterized type,
return its name, otherwise return null.
|
Name |
TreeInfo.operatorName(JCTree.Tag tag)
Return name of operator with given tree tag.
|
Name |
TreeMaker.paramName(int i)
The name of synthetic parameter number `i'.
|
Name |
TreeMaker.typaramName(int i)
The name of synthetic type parameter number `i'.
|
Modifier and Type | Method and Description |
---|---|
Name |
Name.append(char c,
Name n)
Return the concatenation of this name, the given ASCII
character, and name `n'.
|
Name |
Name.append(Name n)
Return the concatenation of this name and name `n'.
|
abstract Name |
Name.Table.fromChars(char[] cs,
int start,
int len)
Get the name from the characters in cs[start..start+len-1].
|
Name |
Names.fromChars(char[] cs,
int start,
int len) |
Name |
SharedNameTable.fromChars(char[] cs,
int start,
int len) |
Name |
UnsharedNameTable.fromChars(char[] cs,
int start,
int len) |
Name |
Name.Table.fromString(String s)
Get the name for the characters in string s.
|
Name |
Names.fromString(String s) |
Name |
Name.Table.fromUtf(byte[] cs)
Get the name for the bytes in array cs.
|
abstract Name |
Name.Table.fromUtf(byte[] cs,
int start,
int len)
get the name for the bytes in cs[start..start+len-1].
|
Name |
Names.fromUtf(byte[] cs) |
Name |
Names.fromUtf(byte[] cs,
int start,
int len) |
Name |
SharedNameTable.fromUtf(byte[] cs,
int start,
int len) |
Name |
UnsharedNameTable.fromUtf(byte[] cs,
int start,
int len) |
static Name |
Convert.packagePart(Name classname)
Return the package name of a class name, excluding the trailing '.',
"" if not existent.
|
static Name |
Convert.shortName(Name classname)
Return the last part of a class name.
|
Name |
Name.subName(int start,
int end)
Returns the sub-name starting at position start, up to and
excluding position end.
|
Name |
ByteBuffer.toName(Names names)
Convert contents to name.
|
Modifier and Type | Method and Description |
---|---|
static List<Name> |
Convert.enclosingCandidates(Name name) |
Modifier and Type | Method and Description |
---|---|
Name |
Name.append(char c,
Name n)
Return the concatenation of this name, the given ASCII
character, and name `n'.
|
Name |
Name.append(Name n)
Return the concatenation of this name and name `n'.
|
void |
ByteBuffer.appendName(Name name)
Append a name.
|
int |
Name.compareTo(Name other)
An arbitrary but consistent complete order among all Names.
|
static List<Name> |
Convert.enclosingCandidates(Name name) |
static Name |
Convert.packagePart(Name classname)
Return the package name of a class name, excluding the trailing '.',
"" if not existent.
|
static Name |
Convert.shortName(Name classname)
Return the last part of a class name.
|
boolean |
Name.startsWith(Name prefix)
Does this name start with prefix?
|
Modifier and Type | Field and Description |
---|---|
protected Map<Name,Set<Name>> |
Dependencies.deps |
protected Map<Name,Set<Name>> |
Dependencies.deps |
protected Set<Name> |
Dependencies.explicitPackages |
protected Map<Name,StringBuffer> |
Dependencies.publicApiPerClass |
Modifier and Type | Method and Description |
---|---|
void |
Dependencies.collect(Name currPkg,
Name depPkg)
Collect a dependency.
|
Copyright © 2017 earcam. All rights reserved.