public JCEnhancedForLoop ForeachLoop(JCVariableDecl var, JCExpression expr, JCStatement body) { return invoke(ForeachLoop, var, expr, body); }
public JCExpression Ident(JCVariableDecl param) { return invoke(IdentVarDecl, param); }
public JCMethodInvocation App(JCExpression meth) { return invoke(App1, meth); }
public JCAnnotation TypeAnnotation(Attribute a) { return invoke(TypeAnnotationWithAttributeOnly, a); }
public JCMethodDecl MethodDef(JCModifiers mods, Name name, JCExpression resType, List<JCTypeParameter> typarams, JCVariableDecl recvparam, List<JCVariableDecl> params, List<JCExpression> thrown, JCBlock body, JCExpression defaultValue) { return invoke(MethodDefWithRecvParam, mods, name, resType, recvparam, typarams, params, thrown, body, defaultValue); }
public JCDoWhileLoop DoLoop(JCStatement body, JCExpression cond) { return invoke(DoLoop, body, cond); }
public JCTry Try(JCBlock body, List<JCCatch> catchers, JCBlock finalizer) { return invoke(Try, body, catchers, finalizer); }
public JCIf If(JCExpression cond, JCStatement thenpart, JCStatement elsepart) { return invoke(If, cond, thenpart, elsepart); }
public JCBinary Binary(TreeTag opcode, JCExpression lhs, JCExpression rhs) { return invoke(Binary, opcode.value, lhs, rhs); }
public JCInstanceOf TypeTest(JCExpression expr, JCTree clazz) { return invoke(TypeTest, expr, clazz); }
public JCArrayAccess Indexed(JCExpression indexed, JCExpression index) { return invoke(Indexed, indexed, index); }
public JCAnnotation Annotation(JCTree annotationType, List<JCExpression> args) { return invoke(Annotation, annotationType, args); }
public JCModifiers Modifiers(long flags) { return invoke(Modifiers, flags); }
public JCClassDecl AnonymousClassDef(JCModifiers mods, List<JCTree> defs) { return invoke(AnonymousClassDef, mods, defs); }
public JCExpression Type(Type type) { return invoke(Type, type); } }
public JCPrimitiveTypeTree TypeIdent(TypeTag typetag) { return invoke(TypeIdent, typetag.value); } //javac versions: 6-8
public JCCatch Catch(JCVariableDecl param, JCBlock body) { return invoke(Catch, param, body); }
public JCAssign Assign(JCExpression lhs, JCExpression rhs) { return invoke(Assign, lhs, rhs); }
public JCArrayTypeTree TypeArray(JCExpression elemtype) { return invoke(TypeArray, elemtype); }
public TypeBoundKind TypeBoundKind(BoundKind kind) { return invoke(TypeBoundKind, kind); }