All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
void |
annotateType(JCTree tree,
List<JCTree.JCAnnotation> annotations)
Apply the annotations to the particular type.
|
void |
attrib(Env<AttrContext> env)
Attribute an env for either a top level tree or class declaration.
|
void |
attribClass(JCDiagnostic.DiagnosticPosition pos,
Symbol.ClassSymbol c)
Main method: attribute class definition associated with given class symbol.
|
Type |
attribExpr(JCTree tree,
Env<AttrContext> env)
Derived visitor method: attribute an expression tree with
no constraints on the computed type.
|
Type |
attribExpr(JCTree tree,
Env<AttrContext> env,
Type pt)
Derived visitor method: attribute an expression tree.
|
Env<AttrContext> |
attribExprToTree(JCTree expr,
Env<AttrContext> env,
JCTree tree) |
Symbol |
attribIdent(JCTree tree,
JCTree.JCCompilationUnit topLevel)
Attribute a parsed identifier.
|
Type |
attribImportQualifier(JCTree.JCImport tree,
Env<AttrContext> env) |
Object |
attribLazyConstantValue(Env<AttrContext> env,
JCTree.JCVariableDecl variable,
Type type)
Attribute a "lazy constant value".
|
Type |
attribStat(JCTree tree,
Env<AttrContext> env)
Derived visitor method: attribute a statement or definition tree.
|
Env<AttrContext> |
attribStatToTree(JCTree stmt,
Env<AttrContext> env,
JCTree tree) |
void |
attribTopLevel(Env<AttrContext> env)
Attribute a top level tree.
|
Type |
attribType(JCTree tree,
Env<AttrContext> env)
Derived visitor method: attribute a type tree.
|
Type |
attribType(JCTree node,
Symbol.TypeSymbol sym) |
Type |
checkMethod(Type site,
Symbol sym,
com.sun.tools.javac.comp.Attr.ResultInfo resultInfo,
Env<AttrContext> env,
List<JCTree.JCExpression> argtrees,
List<Type> argtypes,
List<Type> typeargtypes)
Check that method arguments conform to its instantiation.
|
Type |
coerce(Type etype,
Type ttype) |
static Attr |
instance(Context context) |
JCTree.JCExpression |
makeNullCheck(JCTree.JCExpression arg)
Make an attributed null check tree.
|
void |
postAttr(JCTree tree)
Handle missing types/symbols in an AST.
|
Symbol.MethodSymbol |
removeClinit(Symbol.ClassSymbol sym) |
void |
validateTypeAnnotations(JCTree tree,
boolean sigOnly) |
void |
visitAnnotatedType(JCTree.JCAnnotatedType tree) |
void |
visitAnnotation(JCTree.JCAnnotation tree) |
void |
visitApply(JCTree.JCMethodInvocation tree)
Visitor method for method invocations.
|
void |
visitAssert(JCTree.JCAssert tree) |
void |
visitAssign(JCTree.JCAssign tree) |
void |
visitAssignop(JCTree.JCAssignOp tree) |
void |
visitBinary(JCTree.JCBinary tree) |
void |
visitBlock(JCTree.JCBlock tree) |
void |
visitBreak(JCTree.JCBreak tree) |
void |
visitClassDef(JCTree.JCClassDecl tree) |
void |
visitConditional(JCTree.JCConditional tree) |
void |
visitContinue(JCTree.JCContinue tree) |
void |
visitDoLoop(JCTree.JCDoWhileLoop tree) |
void |
visitErroneous(JCTree.JCErroneous tree) |
void |
visitExec(JCTree.JCExpressionStatement tree) |
void |
visitForeachLoop(JCTree.JCEnhancedForLoop tree) |
void |
visitForLoop(JCTree.JCForLoop tree) |
void |
visitIdent(JCTree.JCIdent tree) |
void |
visitIf(JCTree.JCIf tree) |
void |
visitImport(JCTree.JCImport tree) |
void |
visitIndexed(JCTree.JCArrayAccess tree) |
void |
visitLabelled(JCTree.JCLabeledStatement tree) |
void |
visitLambda(JCTree.JCLambda that) |
void |
visitLiteral(JCTree.JCLiteral tree) |
void |
visitMethodDef(JCTree.JCMethodDecl tree) |
void |
visitNewArray(JCTree.JCNewArray tree) |
void |
visitNewClass(JCTree.JCNewClass tree) |
void |
visitParens(JCTree.JCParens tree) |
void |
visitReference(JCTree.JCMemberReference that) |
void |
visitReturn(JCTree.JCReturn tree) |
void |
visitSelect(JCTree.JCFieldAccess tree) |
void |
visitSkip(JCTree.JCSkip tree) |
void |
visitSwitch(JCTree.JCSwitch tree) |
void |
visitSynchronized(JCTree.JCSynchronized tree) |
void |
visitThrow(JCTree.JCThrow tree) |
void |
visitTree(JCTree tree)
Default visitor method for all other trees.
|
void |
visitTry(JCTree.JCTry tree) |
void |
visitTypeApply(JCTree.JCTypeApply tree)
Visitor method for parameterized types.
|
void |
visitTypeArray(JCTree.JCArrayTypeTree tree) |
void |
visitTypeCast(JCTree.JCTypeCast tree) |
void |
visitTypeIdent(JCTree.JCPrimitiveTypeTree tree) |
void |
visitTypeIntersection(JCTree.JCTypeIntersection tree) |
void |
visitTypeParameter(JCTree.JCTypeParameter tree) |
void |
visitTypeTest(JCTree.JCInstanceOf tree) |
void |
visitTypeUnion(JCTree.JCTypeUnion tree) |
void |
visitUnary(JCTree.JCUnary tree) |
void |
visitVarDef(JCTree.JCVariableDecl tree) |
void |
visitWhileLoop(JCTree.JCWhileLoop tree) |
void |
visitWildcard(JCTree.JCWildcard tree) |