public TryStatementTreeImpl completeTryWithResources(InternalSyntaxToken tryToken, InternalSyntaxToken openParenToken, ResourceListTreeImpl resources, InternalSyntaxToken closeParenToken, BlockTreeImpl block, List<CatchTreeImpl> catches) { this.tryToken = tryToken; this.openParenToken = openParenToken; this.resources = resources; this.variableTreeResources = filterVariableTreeResources(resources); this.closeParenToken = closeParenToken; this.block = block; this.catches = getCatches(catches); return this; }
public TryStatementTreeImpl completeTryWithResources(InternalSyntaxToken tryToken, InternalSyntaxToken openParenToken, ResourceListTreeImpl resources, InternalSyntaxToken closeParenToken, BlockTreeImpl block, List<CatchTreeImpl> catches) { this.tryToken = tryToken; this.openParenToken = openParenToken; this.resources = resources; this.variableTreeResources = filterVariableTreeResources(resources); this.closeParenToken = closeParenToken; this.block = block; this.catches = getCatches(catches); return this; }
public TryStatementTreeImpl( InternalSyntaxToken tryToken, InternalSyntaxToken openParenToken, ResourceListTreeImpl resources, InternalSyntaxToken closeParenToken, BlockTreeImpl block, List<CatchTreeImpl> catches) { super(Kind.TRY_STATEMENT); this.tryToken = tryToken; this.openParenToken = openParenToken; this.resources = resources; this.variableTreeResources = filterVariableTreeResources(resources); this.closeParenToken = closeParenToken; this.block = block; this.catches = getCatches(catches); this.finallyKeyword = null; this.finallyBlock = null; }
public TryStatementTreeImpl( InternalSyntaxToken tryToken, InternalSyntaxToken openParenToken, ResourceListTreeImpl resources, InternalSyntaxToken closeParenToken, BlockTreeImpl block, List<CatchTreeImpl> catches) { super(Kind.TRY_STATEMENT); this.tryToken = tryToken; this.openParenToken = openParenToken; this.resources = resources; this.variableTreeResources = filterVariableTreeResources(resources); this.closeParenToken = closeParenToken; this.block = block; this.catches = getCatches(catches); this.finallyKeyword = null; this.finallyBlock = null; }