src/share/classes/javax/lang/model/type/TypeVisitor.java

changeset 851
cad51b6eb7a6
parent 554
9d9f26857129
child 969
8cc5b440fdde
equal deleted inserted replaced
850:2ab47c4cd618 851:cad51b6eb7a6
1 /* 1 /*
2 * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this 7 * published by the Free Software Foundation. Oracle designates this
160 * @return a visitor-specified result 160 * @return a visitor-specified result
161 * @throws UnknownTypeException 161 * @throws UnknownTypeException
162 * a visitor implementation may optionally throw this exception 162 * a visitor implementation may optionally throw this exception
163 */ 163 */
164 R visitUnknown(TypeMirror t, P p); 164 R visitUnknown(TypeMirror t, P p);
165
166 /**
167 * Visits a disjunctive type.
168 *
169 * @param t the type to visit
170 * @param p a visitor-specified parameter
171 * @return a visitor-specified result
172 * @since 1.7
173 */
174 R visitDisjunctive(DisjunctiveType t, P p);
165 } 175 }

mercurial