public TypeParameterTreeImpl(IdentifierTreeImpl identifier) { super(Kind.TYPE_PARAMETER); this.identifier = identifier; this.extendsToken = null; this.bounds = BoundListTreeImpl.emptyList(); }
public TypeParameterTreeImpl(IdentifierTreeImpl identifier) { super(Kind.TYPE_PARAMETER); this.identifier = identifier; this.extendsToken = null; this.bounds = BoundListTreeImpl.emptyList(); }
public TypeParameterTreeImpl(IdentifierTreeImpl identifier) { super(Kind.TYPE_PARAMETER); this.identifier = identifier; this.extendsToken = null; this.bounds = BoundListTreeImpl.emptyList(); }
public TypeCastExpressionTreeImpl(TypeTree type, InternalSyntaxToken closeParenToken, ExpressionTree expression) { super(Kind.TYPE_CAST); this.type = Preconditions.checkNotNull(type); this.bounds = BoundListTreeImpl.emptyList(); this.closeParenToken = closeParenToken; this.expression = Preconditions.checkNotNull(expression); andToken = null; }
public TypeCastExpressionTreeImpl(TypeTree type, InternalSyntaxToken closeParenToken, ExpressionTree expression) { super(Kind.TYPE_CAST); this.type = Preconditions.checkNotNull(type); this.bounds = BoundListTreeImpl.emptyList(); this.closeParenToken = closeParenToken; this.expression = Preconditions.checkNotNull(expression); andToken = null; }
public TypeCastExpressionTreeImpl(TypeTree type, InternalSyntaxToken closeParenToken, ExpressionTree expression) { super(Kind.TYPE_CAST); this.type = Preconditions.checkNotNull(type); this.bounds = BoundListTreeImpl.emptyList(); this.closeParenToken = closeParenToken; this.expression = Preconditions.checkNotNull(expression); andToken = null; }
public TypeCastExpressionTreeImpl newClassCastExpression(TypeTree type, Optional<Tuple<InternalSyntaxToken, BoundListTreeImpl>> classTypes, InternalSyntaxToken closeParenToken, ExpressionTree expression) { BoundListTreeImpl bounds = BoundListTreeImpl.emptyList(); InternalSyntaxToken andToken = null; if (classTypes.isPresent()) { andToken = classTypes.get().first(); bounds = classTypes.get().second(); } return new TypeCastExpressionTreeImpl(type, andToken, bounds, closeParenToken, expression); }
public TypeCastExpressionTreeImpl newClassCastExpression(TypeTree type, Optional<Tuple<InternalSyntaxToken, BoundListTreeImpl>> classTypes, InternalSyntaxToken closeParenToken, ExpressionTree expression) { BoundListTreeImpl bounds = BoundListTreeImpl.emptyList(); InternalSyntaxToken andToken = null; if (classTypes.isPresent()) { andToken = classTypes.get().first(); bounds = classTypes.get().second(); } return new TypeCastExpressionTreeImpl(type, andToken, bounds, closeParenToken, expression); }
public TypeCastExpressionTreeImpl newClassCastExpression(TypeTree type, Optional<Tuple<InternalSyntaxToken, BoundListTreeImpl>> classTypes, InternalSyntaxToken closeParenToken, ExpressionTree expression) { BoundListTreeImpl bounds = BoundListTreeImpl.emptyList(); InternalSyntaxToken andToken = null; if (classTypes.isPresent()) { andToken = classTypes.get().first(); bounds = classTypes.get().second(); } return new TypeCastExpressionTreeImpl(type, andToken, bounds, closeParenToken, expression); }