public FormalParametersListTreeImpl completeTypeFormalParameters(ModifiersTreeImpl modifiers, TypeTree type, FormalParametersListTreeImpl partial) { VariableTreeImpl variable = partial.get(0); variable.completeModifiersAndType(modifiers, type); return partial; }
public StatementExpressionListTreeImpl newForInitDeclaration(ModifiersTreeImpl modifiers, TypeTree type, VariableDeclaratorListTreeImpl variables) { for (VariableTreeImpl variable : variables) { variable.completeModifiersAndType(modifiers, type); } return new StatementExpressionListTreeImpl(variables, ImmutableList.<SyntaxToken>of()); }
public StatementExpressionListTreeImpl newForInitDeclaration(ModifiersTreeImpl modifiers, TypeTree type, VariableDeclaratorListTreeImpl variables) { for (VariableTreeImpl variable : variables) { variable.completeModifiersAndType(modifiers, type); } return new StatementExpressionListTreeImpl(variables, ImmutableList.<SyntaxToken>of()); }
public StatementExpressionListTreeImpl newForInitDeclaration(ModifiersTreeImpl modifiers, TypeTree type, VariableDeclaratorListTreeImpl variables) { for (VariableTreeImpl variable : variables) { variable.completeModifiersAndType(modifiers, type); } return new StatementExpressionListTreeImpl(variables, ImmutableList.<SyntaxToken>of()); }
public FormalParametersListTreeImpl completeTypeFormalParameters(ModifiersTreeImpl modifiers, TypeTree type, FormalParametersListTreeImpl partial) { VariableTreeImpl variable = partial.get(0); variable.completeModifiersAndType(modifiers, type); return partial; }
public FormalParametersListTreeImpl completeTypeFormalParameters(ModifiersTreeImpl modifiers, TypeTree type, FormalParametersListTreeImpl partial) { VariableTreeImpl variable = partial.get(0); variable.completeModifiersAndType(modifiers, type); return partial; }
public VariableDeclaratorListTreeImpl completeLocalVariableDeclaration( ModifiersTreeImpl modifiers, TypeTree type, VariableDeclaratorListTreeImpl variables, AstNode semicolonTokenAstNode) { variables.prependChildren(modifiers, (AstNode) type); variables.addChild(semicolonTokenAstNode); for (VariableTreeImpl variable : variables) { variable.completeModifiersAndType(modifiers, type); } return variables; }
public StatementExpressionListTreeImpl newForInitDeclaration(ModifiersTreeImpl modifiers, TypeTree type, VariableDeclaratorListTreeImpl variables) { for (VariableTreeImpl variable : variables) { variable.completeModifiersAndType(modifiers, type); } StatementExpressionListTreeImpl result = new StatementExpressionListTreeImpl(variables); result.prependChildren(modifiers, (AstNode) type, variables); return result; }
public FormalParametersListTreeImpl completeTypeFormalParameters(ModifiersTreeImpl modifiers, TypeTree type, FormalParametersListTreeImpl partial) { VariableTreeImpl variable = partial.get(0); variable.completeModifiersAndType(modifiers, type); partial.prependChildren(modifiers, (AstNode) type); return partial; }
public VariableDeclaratorListTreeImpl completeLocalVariableDeclaration( ModifiersTreeImpl modifiers, TypeTree type, VariableDeclaratorListTreeImpl variables, InternalSyntaxToken semicolonSyntaxToken) { for (VariableTreeImpl variable : variables) { variable.completeModifiersAndType(modifiers, type); } // store the semicolon as endToken for the last variable variables.get(variables.size() - 1).setEndToken(semicolonSyntaxToken); return variables; }
public VariableDeclaratorListTreeImpl completeLocalVariableDeclaration( ModifiersTreeImpl modifiers, TypeTree type, VariableDeclaratorListTreeImpl variables, InternalSyntaxToken semicolonSyntaxToken) { for (VariableTreeImpl variable : variables) { variable.completeModifiersAndType(modifiers, type); } // store the semicolon as endToken for the last variable variables.get(variables.size() - 1).setEndToken(semicolonSyntaxToken); return variables; }
public VariableDeclaratorListTreeImpl completeLocalVariableDeclaration( ModifiersTreeImpl modifiers, TypeTree type, VariableDeclaratorListTreeImpl variables, InternalSyntaxToken semicolonSyntaxToken) { for (VariableTreeImpl variable : variables) { variable.completeModifiersAndType(modifiers, type); } // store the semicolon as endToken for the last variable variables.get(variables.size() - 1).setEndToken(semicolonSyntaxToken); return variables; }