public ClassTreeImpl(ModifiersTree modifiers, SyntaxToken openBraceToken, List<Tree> members, SyntaxToken closeBraceToken) { super(Kind.ANNOTATION_TYPE); this.kind = Preconditions.checkNotNull(Kind.ANNOTATION_TYPE); this.modifiers = modifiers; this.typeParameters = new TypeParameterListTreeImpl(); this.superClass = null; this.superInterfaces = QualifiedIdentifierListTreeImpl.emptyList(); this.openBraceToken = openBraceToken; this.members = Preconditions.checkNotNull(members); this.closeBraceToken = closeBraceToken; }
public ClassTreeImpl(ModifiersTree modifiers, SyntaxToken openBraceToken, List<Tree> members, SyntaxToken closeBraceToken) { super(Kind.ANNOTATION_TYPE); this.kind = Preconditions.checkNotNull(Kind.ANNOTATION_TYPE); this.modifiers = modifiers; this.typeParameters = new TypeParameterListTreeImpl(); this.superClass = null; this.superInterfaces = QualifiedIdentifierListTreeImpl.emptyList(); this.openBraceToken = openBraceToken; this.members = Preconditions.checkNotNull(members); this.closeBraceToken = closeBraceToken; }
public ClassTreeImpl(ModifiersTree modifiers, SyntaxToken openBraceToken, List<Tree> members, SyntaxToken closeBraceToken) { super(Kind.ANNOTATION_TYPE); this.kind = Preconditions.checkNotNull(Kind.ANNOTATION_TYPE); this.modifiers = modifiers; this.typeParameters = new TypeParameterListTreeImpl(); this.superClass = null; this.superInterfaces = QualifiedIdentifierListTreeImpl.emptyList(); this.openBraceToken = openBraceToken; this.members = Preconditions.checkNotNull(members); this.closeBraceToken = closeBraceToken; }
public MethodTreeImpl(FormalParametersListTreeImpl parameters, @Nullable SyntaxToken defaultToken, @Nullable ExpressionTree defaultValue) { super(Kind.METHOD); this.typeParameters = new TypeParameterListTreeImpl(); this.parameters = parameters; this.openParenToken = parameters.openParenToken(); this.closeParenToken = parameters.closeParenToken(); this.block = null; this.throwsToken = null; this.throwsClauses = QualifiedIdentifierListTreeImpl.emptyList(); this.defaultToken = defaultToken; this.defaultValue = defaultValue; }
public MethodTreeImpl(FormalParametersListTreeImpl parameters, @Nullable SyntaxToken defaultToken, @Nullable ExpressionTree defaultValue) { super(Kind.METHOD); this.typeParameters = new TypeParameterListTreeImpl(); this.parameters = parameters; this.openParenToken = parameters.openParenToken(); this.closeParenToken = parameters.closeParenToken(); this.block = null; this.throwsToken = null; this.throwsClauses = QualifiedIdentifierListTreeImpl.emptyList(); this.defaultToken = defaultToken; this.defaultValue = defaultValue; }
public ClassTreeImpl(Kind kind, SyntaxToken openBraceToken, List<Tree> members, SyntaxToken closeBraceToken) { super(kind); this.kind = kind; this.openBraceToken = openBraceToken; this.members = members; this.closeBraceToken = closeBraceToken; this.modifiers = ModifiersTreeImpl.emptyModifiers(); this.typeParameters = new TypeParameterListTreeImpl(); this.superInterfaces = QualifiedIdentifierListTreeImpl.emptyList(); }
public ClassTreeImpl(Kind kind, SyntaxToken openBraceToken, List<Tree> members, SyntaxToken closeBraceToken) { super(kind); this.kind = kind; this.openBraceToken = openBraceToken; this.members = members; this.closeBraceToken = closeBraceToken; this.modifiers = ModifiersTreeImpl.emptyModifiers(); this.typeParameters = new TypeParameterListTreeImpl(); this.superInterfaces = QualifiedIdentifierListTreeImpl.emptyList(); }
public MethodTreeImpl(FormalParametersListTreeImpl parameters, @Nullable SyntaxToken defaultToken, @Nullable ExpressionTree defaultValue) { super(Kind.METHOD); this.typeParameters = new TypeParameterListTreeImpl(); this.parameters = parameters; this.openParenToken = parameters.openParenToken(); this.closeParenToken = parameters.closeParenToken(); this.block = null; this.throwsToken = null; this.throwsClauses = QualifiedIdentifierListTreeImpl.emptyList(); this.defaultToken = defaultToken; this.defaultValue = defaultValue; }
public ClassTreeImpl(Kind kind, SyntaxToken openBraceToken, List<Tree> members, SyntaxToken closeBraceToken) { super(kind); this.kind = kind; this.openBraceToken = openBraceToken; this.members = members; this.closeBraceToken = closeBraceToken; this.modifiers = ModifiersTreeImpl.emptyModifiers(); this.typeParameters = new TypeParameterListTreeImpl(); this.superInterfaces = QualifiedIdentifierListTreeImpl.emptyList(); }
ListTree<TypeTree> throwsClauses = QualifiedIdentifierListTreeImpl.emptyList(); if (throwsClause.isPresent()) { throwsToken = throwsClause.get().first();
ListTree<TypeTree> throwsClauses = QualifiedIdentifierListTreeImpl.emptyList(); if (throwsClause.isPresent()) { throwsToken = throwsClause.get().first();
ListTree<TypeTree> throwsClauses = QualifiedIdentifierListTreeImpl.emptyList(); if (throwsClause.isPresent()) { throwsToken = throwsClause.get().first();