| Package | Description |
|---|---|
| sun.tools.java | |
| sun.tools.javac | |
| sun.tools.tree |
| Modifier and Type | Field and Description |
|---|---|
protected IdentifierToken[] |
MemberDefinition.expIds |
protected IdentifierToken[] |
ClassDefinition.interfaceIds |
protected IdentifierToken |
ClassDefinition.superClassId |
| Modifier and Type | Method and Description |
|---|---|
IdentifierToken[] |
MemberDefinition.getExceptionIds() |
IdentifierToken |
Scanner.getIdToken()
If the current token is IDENT, return the identifier occurrence.
|
protected IdentifierToken |
Parser.parseName(boolean star)
Parse an identifier.
|
| Modifier and Type | Method and Description |
|---|---|
List<IdentifierToken> |
Imports.getImportedClasses()
Return an unmodifiable list of IdentifierToken representing
classes specified as imports.
|
List<IdentifierToken> |
Imports.getImportedPackages()
Return an unmodifiable list of IdentifierToken representing
packages specified as imports.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Imports.addClass(IdentifierToken t)
Add a class import
|
void |
Imports.addPackage(IdentifierToken t)
Add a package import, or perhaps an inner class scope.
|
ClassDefinition |
ParserActions.beginClass(long off,
String doc,
int mod,
IdentifierToken nm,
IdentifierToken sup,
IdentifierToken[] impl)
Define class
|
ClassDefinition |
ParserActions.beginClass(long off,
String doc,
int mod,
IdentifierToken nm,
IdentifierToken sup,
IdentifierToken[] impl)
Define class
|
ClassDefinition |
Parser.beginClass(long off,
String doc,
int mod,
IdentifierToken nm,
IdentifierToken sup,
IdentifierToken[] impl)
Deprecated.
|
ClassDefinition |
Parser.beginClass(long off,
String doc,
int mod,
IdentifierToken nm,
IdentifierToken sup,
IdentifierToken[] impl)
Deprecated.
|
void |
ParserActions.defineField(long where,
ClassDefinition c,
String doc,
int mod,
Type t,
IdentifierToken nm,
IdentifierToken[] args,
IdentifierToken[] exp,
Node val)
Define a field
|
void |
ParserActions.defineField(long where,
ClassDefinition c,
String doc,
int mod,
Type t,
IdentifierToken nm,
IdentifierToken[] args,
IdentifierToken[] exp,
Node val)
Define a field
|
void |
ParserActions.defineField(long where,
ClassDefinition c,
String doc,
int mod,
Type t,
IdentifierToken nm,
IdentifierToken[] args,
IdentifierToken[] exp,
Node val)
Define a field
|
void |
Parser.defineField(long where,
ClassDefinition c,
String doc,
int mod,
Type t,
IdentifierToken nm,
IdentifierToken[] args,
IdentifierToken[] exp,
Node val)
Deprecated.
|
void |
Parser.defineField(long where,
ClassDefinition c,
String doc,
int mod,
Type t,
IdentifierToken nm,
IdentifierToken[] args,
IdentifierToken[] exp,
Node val)
Deprecated.
|
void |
Parser.defineField(long where,
ClassDefinition c,
String doc,
int mod,
Type t,
IdentifierToken nm,
IdentifierToken[] args,
IdentifierToken[] exp,
Node val)
Deprecated.
|
static long |
IdentifierToken.getWhere(IdentifierToken id,
long defaultWhere)
Return defaultWhere if id is null or id.where is missing (0).
|
void |
ParserActions.importClass(long off,
IdentifierToken nm)
import class
|
void |
Parser.importClass(long off,
IdentifierToken nm)
Deprecated.
|
void |
ParserActions.importPackage(long off,
IdentifierToken nm)
import package
|
void |
Parser.importPackage(long off,
IdentifierToken nm)
Deprecated.
|
ClassDefinition |
Environment.makeClassDefinition(Environment origEnv,
long where,
IdentifierToken name,
String doc,
int modifiers,
IdentifierToken superClass,
IdentifierToken[] interfaces,
ClassDefinition outerClass)
Create a new class.
|
ClassDefinition |
Environment.makeClassDefinition(Environment origEnv,
long where,
IdentifierToken name,
String doc,
int modifiers,
IdentifierToken superClass,
IdentifierToken[] interfaces,
ClassDefinition outerClass)
Create a new class.
|
MemberDefinition |
Environment.makeMemberDefinition(Environment origEnv,
long where,
ClassDefinition clazz,
String doc,
int modifiers,
Type type,
Identifier name,
IdentifierToken[] argNames,
IdentifierToken[] expIds,
Object value)
Create a new field.
|
MemberDefinition |
Environment.makeMemberDefinition(Environment origEnv,
long where,
ClassDefinition clazz,
String doc,
int modifiers,
Type type,
Identifier name,
IdentifierToken[] argNames,
IdentifierToken[] expIds,
Object value)
Create a new field.
|
void |
ParserActions.packageDeclaration(long off,
IdentifierToken nm)
package declaration
|
void |
Parser.packageDeclaration(long off,
IdentifierToken nm)
Deprecated.
|
protected ClassDefinition |
Parser.parseClassBody(IdentifierToken nm,
int mod,
int ctx,
String doc,
Vector<IdentifierToken> ext,
Vector<IdentifierToken> impl,
long p)
Parse the body of a class or interface declaration,
starting at the left brace.
|
void |
Imports.setCurrentPackage(IdentifierToken t)
Specify the current package with an IdentifierToken.
|
| Modifier and Type | Method and Description |
|---|---|
protected ClassDefinition |
Parser.parseClassBody(IdentifierToken nm,
int mod,
int ctx,
String doc,
Vector<IdentifierToken> ext,
Vector<IdentifierToken> impl,
long p)
Parse the body of a class or interface declaration,
starting at the left brace.
|
protected ClassDefinition |
Parser.parseClassBody(IdentifierToken nm,
int mod,
int ctx,
String doc,
Vector<IdentifierToken> ext,
Vector<IdentifierToken> impl,
long p)
Parse the body of a class or interface declaration,
starting at the left brace.
|
protected void |
Parser.parseInheritance(Vector<IdentifierToken> ext,
Vector<IdentifierToken> impl) |
protected void |
Parser.parseInheritance(Vector<IdentifierToken> ext,
Vector<IdentifierToken> impl) |
| Constructor and Description |
|---|
ClassDefinition(Object source,
long where,
ClassDeclaration declaration,
int modifiers,
IdentifierToken superClass,
IdentifierToken[] interfaces)
Constructor
|
ClassDefinition(Object source,
long where,
ClassDeclaration declaration,
int modifiers,
IdentifierToken superClass,
IdentifierToken[] interfaces)
Constructor
|
MemberDefinition(long where,
ClassDefinition clazz,
int modifiers,
Type type,
Identifier name,
IdentifierToken[] expIds,
Node value)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
ClassDefinition |
BatchParser.beginClass(long where,
String doc,
int mod,
IdentifierToken t,
IdentifierToken sup,
IdentifierToken[] interfaces)
Deprecated.
Define class
|
ClassDefinition |
BatchParser.beginClass(long where,
String doc,
int mod,
IdentifierToken t,
IdentifierToken sup,
IdentifierToken[] interfaces)
Deprecated.
Define class
|
void |
BatchParser.defineField(long where,
ClassDefinition c,
String doc,
int mod,
Type t,
IdentifierToken name,
IdentifierToken[] args,
IdentifierToken[] exp,
Node val)
Deprecated.
Define a method
|
void |
BatchParser.defineField(long where,
ClassDefinition c,
String doc,
int mod,
Type t,
IdentifierToken name,
IdentifierToken[] args,
IdentifierToken[] exp,
Node val)
Deprecated.
Define a method
|
void |
BatchParser.defineField(long where,
ClassDefinition c,
String doc,
int mod,
Type t,
IdentifierToken name,
IdentifierToken[] args,
IdentifierToken[] exp,
Node val)
Deprecated.
Define a method
|
void |
BatchParser.importClass(long pos,
IdentifierToken t)
Deprecated.
Import class
|
void |
BatchParser.importPackage(long pos,
IdentifierToken t)
Deprecated.
Import package
|
ClassDefinition |
BatchEnvironment.makeClassDefinition(Environment toplevelEnv,
long where,
IdentifierToken name,
String doc,
int modifiers,
IdentifierToken superClass,
IdentifierToken[] interfaces,
ClassDefinition outerClass)
Deprecated.
Create a new class.
|
ClassDefinition |
BatchEnvironment.makeClassDefinition(Environment toplevelEnv,
long where,
IdentifierToken name,
String doc,
int modifiers,
IdentifierToken superClass,
IdentifierToken[] interfaces,
ClassDefinition outerClass)
Deprecated.
Create a new class.
|
MemberDefinition |
BatchEnvironment.makeMemberDefinition(Environment origEnv,
long where,
ClassDefinition clazz,
String doc,
int modifiers,
Type type,
Identifier name,
IdentifierToken[] argNames,
IdentifierToken[] expIds,
Object value)
Deprecated.
Create a new field.
|
MemberDefinition |
BatchEnvironment.makeMemberDefinition(Environment origEnv,
long where,
ClassDefinition clazz,
String doc,
int modifiers,
Type type,
Identifier name,
IdentifierToken[] argNames,
IdentifierToken[] expIds,
Object value)
Deprecated.
Create a new field.
|
void |
BatchParser.packageDeclaration(long where,
IdentifierToken t)
Deprecated.
Package declaration
|
| Constructor and Description |
|---|
SourceClass(Environment env,
long where,
ClassDeclaration declaration,
String documentation,
int modifiers,
IdentifierToken superClass,
IdentifierToken[] interfaces,
SourceClass outerClass,
Identifier localName)
Deprecated.
Constructor
|
SourceClass(Environment env,
long where,
ClassDeclaration declaration,
String documentation,
int modifiers,
IdentifierToken superClass,
IdentifierToken[] interfaces,
SourceClass outerClass,
Identifier localName)
Deprecated.
Constructor
|
SourceMember(long where,
ClassDefinition clazz,
String doc,
int modifiers,
Type type,
Identifier name,
Vector<MemberDefinition> argNames,
IdentifierToken[] exp,
Node value)
Deprecated.
Constructor
|
| Constructor and Description |
|---|
CatchStatement(long where,
Expression texpr,
IdentifierToken id,
Statement body)
Constructor
|
IdentifierExpression(IdentifierToken id) |
Copyright © 2017. All Rights Reserved.