List of usage examples for org.apache.commons.collections ListUtils EMPTY_LIST
List EMPTY_LIST
To view the source code for org.apache.commons.collections ListUtils EMPTY_LIST.
Click Source Link
From source file:org.sonar.javascript.tree.impl.declaration.ParameterListTreeImpl.java
public ParameterListTreeImpl(Kind kind, InternalSyntaxToken openParenthesis, InternalSyntaxToken closeParenthesis) { this.kind = kind; this.openParenthesis = openParenthesis; this.parameters = new SeparatedList<>(ListUtils.EMPTY_LIST, ListUtils.EMPTY_LIST); this.closeParenthesis = closeParenthesis; }
From source file:org.sonar.javascript.tree.impl.expression.ObjectLiteralTreeImpl.java
public ObjectLiteralTreeImpl(InternalSyntaxToken openCurlyBrace, InternalSyntaxToken closeCurlyBrace) { this.openCurlyBrace = openCurlyBrace; this.closeCurlyBrace = closeCurlyBrace; this.properties = new SeparatedList<>(ListUtils.EMPTY_LIST, ListUtils.EMPTY_LIST); }
From source file:org.sonar.javascript.tree.impl.statement.BlockTreeImpl.java
public BlockTreeImpl(InternalSyntaxToken openCurlyBrace, InternalSyntaxToken closeCurlyBrace) { this.openCurlyBrace = openCurlyBrace; this.statements = ListUtils.EMPTY_LIST; this.closeCurlyBrace = closeCurlyBrace; }
From source file:org.sonar.javascript.tree.impl.statement.CaseClauseTreeImpl.java
public CaseClauseTreeImpl(InternalSyntaxToken caseKeyword, ExpressionTree expression, InternalSyntaxToken colon) {// ww w .j a v a 2 s. c o m this.caseKeyword = caseKeyword; this.expression = expression; this.colon = colon; this.statements = ListUtils.EMPTY_LIST; }
From source file:org.sonar.javascript.tree.impl.statement.DefaultClauseTreeImpl.java
public DefaultClauseTreeImpl(InternalSyntaxToken defaultKeyword, InternalSyntaxToken colon) { this.defaultKeyword = defaultKeyword; this.colon = colon; this.statements = ListUtils.EMPTY_LIST; }
From source file:org.sonar.pickbasic.parser.TreeFactory.java
public ParameterListTreeImpl newFormalRestParameterList(RestElementTreeImpl restParameter) { return new ParameterListTreeImpl(Kind.FORMAL_PARAMETER_LIST, new SeparatedList<>(Lists.newArrayList((Tree) restParameter), ListUtils.EMPTY_LIST)); }
From source file:org.sonar.pickbasic.tree.impl.statement.BeginCaseCaseClauseTreeImpl.java
public BeginCaseCaseClauseTreeImpl(InternalSyntaxToken caseKeyword, ExpressionTree expression) { this.caseKeyword = caseKeyword; this.expression = expression; this.statements = ListUtils.EMPTY_LIST; }
From source file:org.sonar.pickbasic.tree.impl.statement.BeginCaseDefaultClauseTreeImpl.java
public BeginCaseDefaultClauseTreeImpl(InternalSyntaxToken defaultCaseKeyword) { this.defaultCaseKeyword = defaultCaseKeyword; this.statements = ListUtils.EMPTY_LIST; }
From source file:org.sonar.pickbasic.tree.impl.statement.DoRepeatClauseTreeImpl.java
public DoRepeatClauseTreeImpl(InternalSyntaxToken doKeyword, InternalSyntaxToken repeatKeyword) { this.doKeyword = doKeyword; this.statements = ListUtils.EMPTY_LIST; this.repeatKeyword = repeatKeyword; }
From source file:org.sonar.pickbasic.tree.impl.statement.LoopStatementTreeImpl.java
public LoopStatementTreeImpl(InternalSyntaxToken loopKeyword, WhileUntilClauseTree whileUntilClause, DoRepeatClauseTree doRepeatClause) { this.loopKeyword = loopKeyword; this.statements = ListUtils.EMPTY_LIST; this.whileUntilClause = whileUntilClause; this.fromClause = null; this.doRepeatClause = doRepeatClause; }