Package | Description |
---|---|
com.sun.tools.javac.code | |
com.sun.tools.javac.comp | |
com.sun.tools.javac.jvm | |
com.sun.tools.javac.parser | |
com.sun.tools.javac.tree |
Modifier and Type | Method and Description |
---|---|
void |
Symbol.VarSymbol.setLazyConstValue(Env<AttrContext> env,
Attr attr,
JCTree.JCVariableDecl variable) |
Modifier and Type | Field and Description |
---|---|
protected JCTree.JCVariableDecl[] |
Flow.AbstractAssignAnalyzer.vardecls
A mapping from addresses to variable symbols.
|
Modifier and Type | Method and Description |
---|---|
Object |
Attr.attribLazyConstantValue(Env<AttrContext> env,
JCTree.JCVariableDecl variable,
Type type)
Attribute a "lazy constant value".
|
Env<AttrContext> |
MemberEnter.getInitEnv(JCTree.JCVariableDecl tree,
Env<AttrContext> env) |
protected void |
Flow.AbstractAssignAnalyzer.initParam(JCTree.JCVariableDecl def) |
void |
Attr.visitVarDef(JCTree.JCVariableDecl tree) |
void |
Flow.AbstractAssignAnalyzer.visitVarDef(JCTree.JCVariableDecl tree) |
void |
Flow.AssignAnalyzer.visitVarDef(JCTree.JCVariableDecl tree) |
void |
LambdaToMethod.visitVarDef(JCTree.JCVariableDecl tree) |
void |
Lower.visitVarDef(JCTree.JCVariableDecl tree) |
void |
MemberEnter.visitVarDef(JCTree.JCVariableDecl tree) |
void |
TransTypes.visitVarDef(JCTree.JCVariableDecl tree) |
Modifier and Type | Method and Description |
---|---|
void |
Gen.visitVarDef(JCTree.JCVariableDecl tree) |
Modifier and Type | Method and Description |
---|---|
<T extends ListBuffer<? super JCTree.JCVariableDecl>> |
JavacParser.variableDeclarators(JCTree.JCModifiers mods,
JCTree.JCExpression type,
T vdefs)
VariableDeclarators = VariableDeclarator { "," VariableDeclarator }
|
Modifier and Type | Method and Description |
---|---|
protected JCTree.JCVariableDecl |
JavacParser.formalParameter()
FormalParameter = { FINAL | '@' Annotation } Type VariableDeclaratorId
LastFormalParameter = { FINAL | '@' Annotation } Type '...' Ident | FormalParameter
|
protected JCTree.JCVariableDecl |
JavacParser.formalParameter(boolean lambdaParameter) |
protected JCTree.JCVariableDecl |
JavacParser.implicitParameter() |
Modifier and Type | Field and Description |
---|---|
JCTree.JCVariableDecl |
JCTree.JCCatch.param |
JCTree.JCVariableDecl |
JCTree.JCMethodDecl.recvparam
receiver parameter
|
JCTree.JCVariableDecl |
JCTree.JCEnhancedForLoop.var |
Modifier and Type | Field and Description |
---|---|
List<JCTree.JCVariableDecl> |
JCTree.LetExpr.defs |
List<JCTree.JCVariableDecl> |
JCTree.JCLambda.params |
List<JCTree.JCVariableDecl> |
JCTree.JCMethodDecl.params
value parameters
|
Modifier and Type | Method and Description |
---|---|
JCTree.JCVariableDecl |
JCTree.JCCatch.getParameter() |
JCTree.JCVariableDecl |
JCTree.JCMethodDecl.getReceiverParameter() |
JCTree.JCVariableDecl |
JCTree.JCEnhancedForLoop.getVariable() |
JCTree.JCVariableDecl |
TreeMaker.Param(Name name,
Type argtype,
Symbol owner)
Create a value parameter tree from its name, type, and owner.
|
JCTree.JCVariableDecl |
TreeMaker.ReceiverVarDef(JCTree.JCModifiers mods,
JCTree.JCExpression name,
JCTree.JCExpression vartype) |
JCTree.JCVariableDecl |
JCTree.Factory.VarDef(JCTree.JCModifiers mods,
Name name,
JCTree.JCExpression vartype,
JCTree.JCExpression init) |
JCTree.JCVariableDecl |
TreeMaker.VarDef(Symbol.VarSymbol v,
JCTree.JCExpression init)
Create a variable definition from a variable symbol and an initializer
expression.
|
JCTree.JCVariableDecl |
TreeMaker.VarDef(JCTree.JCModifiers mods,
Name name,
JCTree.JCExpression vartype,
JCTree.JCExpression init) |
Modifier and Type | Method and Description |
---|---|
List<JCTree.JCVariableDecl> |
JCTree.JCMethodDecl.getParameters() |
List<JCTree.JCVariableDecl> |
TreeMaker.Params(List<Type> argtypes,
Symbol owner)
Create a a list of value parameter trees x0, ..., xn from a list of
their types and an their owner.
|
List<JCTree.JCVariableDecl> |
TreeTranslator.translateVarDefs(List<JCTree.JCVariableDecl> trees)
Visitor method: translate a list of variable definitions.
|
Modifier and Type | Method and Description |
---|---|
List<JCTree.JCExpression> |
TreeMaker.Idents(List<JCTree.JCVariableDecl> params)
Create a list of identifiers referring to the variables declared
in given list of variable declarations.
|
JCTree.JCLambda |
TreeMaker.Lambda(List<JCTree.JCVariableDecl> params,
JCTree body) |
JCTree.LetExpr |
JCTree.Factory.LetExpr(List<JCTree.JCVariableDecl> defs,
JCTree expr) |
JCTree.LetExpr |
TreeMaker.LetExpr(List<JCTree.JCVariableDecl> defs,
JCTree expr) |
List<JCTree.JCVariableDecl> |
TreeTranslator.translateVarDefs(List<JCTree.JCVariableDecl> trees)
Visitor method: translate a list of variable definitions.
|
Constructor and Description |
---|
JCCatch(JCTree.JCVariableDecl param,
JCTree.JCBlock body) |
JCEnhancedForLoop(JCTree.JCVariableDecl var,
JCTree.JCExpression expr,
JCTree.JCStatement body) |
JCMethodDecl(JCTree.JCModifiers mods,
Name name,
JCTree.JCExpression restype,
List<JCTree.JCTypeParameter> typarams,
JCTree.JCVariableDecl recvparam,
List<JCTree.JCVariableDecl> params,
List<JCTree.JCExpression> thrown,
JCTree.JCBlock body,
JCTree.JCExpression defaultValue,
Symbol.MethodSymbol sym) |
Constructor and Description |
---|
JCLambda(List<JCTree.JCVariableDecl> params,
JCTree body) |
LetExpr(List<JCTree.JCVariableDecl> defs,
JCTree expr) |
Copyright © 2017 earcam. All rights reserved.