mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 04:24:49 +02:00
6949587: rename "DisjointType" to "DisjunctType"
Reviewed-by: mcimadamore
This commit is contained in:
parent
35cc8afcf9
commit
efaaa59c32
17 changed files with 48 additions and 48 deletions
|
@ -28,13 +28,13 @@ package com.sun.source.tree;
|
|||
import java.util.List;
|
||||
|
||||
/**
|
||||
* A tree node for a disjoint type expression in a multicatch var declaration.
|
||||
* A tree node for a disjunctive type expression in a multicatch var declaration.
|
||||
*
|
||||
*
|
||||
* @author Maurizio Cimadamore
|
||||
*
|
||||
* @since 1.7
|
||||
*/
|
||||
public interface DisjointTypeTree extends Tree {
|
||||
List<? extends Tree> getTypeComponents();
|
||||
public interface DisjunctiveTypeTree extends Tree {
|
||||
List<? extends Tree> getTypeAlternatives();
|
||||
}
|
|
@ -234,9 +234,9 @@ public interface Tree {
|
|||
PARAMETERIZED_TYPE(ParameterizedTypeTree.class),
|
||||
|
||||
/**
|
||||
* Used for instances of {@link DisjointTypeTree}.
|
||||
* Used for instances of {@link DisjunctiveTypeTree}.
|
||||
*/
|
||||
DISJOINT_TYPE(DisjointTypeTree.class),
|
||||
DISJUNCTIVE_TYPE(DisjunctiveTypeTree.class),
|
||||
|
||||
/**
|
||||
* Used for instances of {@link TypeCastTree}.
|
||||
|
|
|
@ -96,7 +96,7 @@ public interface TreeVisitor<R,P> {
|
|||
R visitCompilationUnit(CompilationUnitTree node, P p);
|
||||
R visitTry(TryTree node, P p);
|
||||
R visitParameterizedType(ParameterizedTypeTree node, P p);
|
||||
R visitDisjointType(DisjointTypeTree node, P p);
|
||||
R visitDisjunctiveType(DisjunctiveTypeTree node, P p);
|
||||
R visitArrayType(ArrayTypeTree node, P p);
|
||||
R visitTypeCast(TypeCastTree node, P p);
|
||||
R visitPrimitiveType(PrimitiveTypeTree node, P p);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue