Home » openjdk-7 » com.sun.tools » javac » tree » [javadoc | source]
com.sun.tools.javac.tree
public interface: JCTree.Factory [javadoc | source]

All Known Implementing Classes:
    TreeMaker

An interface for tree factories
Method from com.sun.tools.javac.tree.JCTree$Factory Summary:
Annotation,   Apply,   Assert,   Assign,   Assignop,   Binary,   Block,   Break,   Case,   Catch,   ClassDef,   Conditional,   Continue,   DoLoop,   Erroneous,   Exec,   ForLoop,   ForeachLoop,   Ident,   If,   Import,   Indexed,   Labelled,   LetExpr,   Literal,   MethodDef,   Modifiers,   NewArray,   NewClass,   Parens,   Return,   Select,   Skip,   Switch,   Synchronized,   Throw,   TopLevel,   Try,   Try,   TypeApply,   TypeArray,   TypeBoundKind,   TypeCast,   TypeIdent,   TypeParameter,   TypeTest,   Unary,   VarDef,   WhileLoop,   Wildcard
Method from com.sun.tools.javac.tree.JCTree$Factory Detail:
 public JCAnnotation Annotation(JCTree annotationType,
    List<JCExpression> args)
 public JCMethodInvocation Apply(List<JCExpression> typeargs,
    JCExpression fn,
    List<JCExpression> args)
 public JCAssert Assert(JCExpression cond,
    JCExpression detail)
 public JCAssign Assign(JCExpression lhs,
    JCExpression rhs)
 public JCAssignOp Assignop(int opcode,
    JCTree lhs,
    JCTree rhs)
 public JCBinary Binary(int opcode,
    JCExpression lhs,
    JCExpression rhs)
 public JCBlock Block(long flags,
    List<JCStatement> stats)
 public JCBreak Break(Name label)
 public JCCase Case(JCExpression pat,
    List<JCStatement> stats)
 public JCCatch Catch(JCVariableDecl param,
    JCBlock body)
 public JCClassDecl ClassDef(JCModifiers mods,
    Name name,
    List<JCTypeParameter> typarams,
    JCExpression extending,
    List<JCExpression> implementing,
    List<JCTree> defs)
 public JCConditional Conditional(JCExpression cond,
    JCExpression thenpart,
    JCExpression elsepart)
 public JCContinue Continue(Name label)
 public JCDoWhileLoop DoLoop(JCStatement body,
    JCExpression cond)
 public JCErroneous Erroneous(List<JCTree> errs)
 public JCExpressionStatement Exec(JCExpression expr)
 public JCForLoop ForLoop(List<JCStatement> init,
    JCExpression cond,
    List<JCExpressionStatement> step,
    JCStatement body)
 public JCEnhancedForLoop ForeachLoop(JCVariableDecl var,
    JCExpression expr,
    JCStatement body)
 public JCIdent Ident(Name idname)
 public JCIf If(JCExpression cond,
    JCStatement thenpart,
    JCStatement elsepart)
 public JCImport Import(JCTree qualid,
    boolean staticImport)
 public JCArrayAccess Indexed(JCExpression indexed,
    JCExpression index)
 public JCLabeledStatement Labelled(Name label,
    JCStatement body)
 public LetExpr LetExpr(List<JCVariableDecl> defs,
    JCTree expr)
 public JCLiteral Literal(int tag,
    Object value)
 public JCMethodDecl MethodDef(JCModifiers mods,
    Name name,
    JCExpression restype,
    List<JCTypeParameter> typarams,
    List<JCVariableDecl> params,
    List<JCExpression> thrown,
    JCBlock body,
    JCExpression defaultValue)
 public JCModifiers Modifiers(long flags,
    List<JCAnnotation> annotations)
 public JCNewArray NewArray(JCExpression elemtype,
    List<JCExpression> dims,
    List<JCExpression> elems)
 public JCNewClass NewClass(JCExpression encl,
    List<JCExpression> typeargs,
    JCExpression clazz,
    List<JCExpression> args,
    JCClassDecl def)
 public JCParens Parens(JCExpression expr)
 public JCReturn Return(JCExpression expr)
 public JCFieldAccess Select(JCExpression selected,
    Name selector)
 public JCSkip Skip()
 public JCSwitch Switch(JCExpression selector,
    List<JCCase> cases)
 public JCSynchronized Synchronized(JCExpression lock,
    JCBlock body)
 public JCThrow Throw(JCTree expr)
 public JCCompilationUnit TopLevel(List<JCAnnotation> packageAnnotations,
    JCExpression pid,
    List<JCTree> defs)
 public JCTry Try(JCBlock body,
    List<JCCatch> catchers,
    JCBlock finalizer)
 public JCTry Try(List<JCTree> resources,
    JCBlock body,
    List<JCCatch> catchers,
    JCBlock finalizer)
 public JCTypeApply TypeApply(JCExpression clazz,
    List<JCExpression> arguments)
 public JCArrayTypeTree TypeArray(JCExpression elemtype)
 public TypeBoundKind TypeBoundKind(BoundKind kind)
 public JCTypeCast TypeCast(JCTree expr,
    JCExpression type)
 public JCPrimitiveTypeTree TypeIdent(int typetag)
 public JCTypeParameter TypeParameter(Name name,
    List<JCExpression> bounds)
 public JCInstanceOf TypeTest(JCExpression expr,
    JCTree clazz)
 public JCUnary Unary(int opcode,
    JCExpression arg)
 public JCVariableDecl VarDef(JCModifiers mods,
    Name name,
    JCExpression vartype,
    JCExpression init)
 public JCWhileLoop WhileLoop(JCExpression cond,
    JCStatement body)
 public JCWildcard Wildcard(TypeBoundKind kind,
    JCTree type)