ArrayType.java revision 2571:10fc81ac75b4
1155131Srwatson/* 2155131Srwatson * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. 3185573Srwatson * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4155131Srwatson * 5155131Srwatson * This code is free software; you can redistribute it and/or modify it 6155131Srwatson * under the terms of the GNU General Public License version 2 only, as 7155131Srwatson * published by the Free Software Foundation. Oracle designates this 8155131Srwatson * particular file as subject to the "Classpath" exception as provided 9155131Srwatson * by Oracle in the LICENSE file that accompanied this code. 10155131Srwatson * 11155131Srwatson * This code is distributed in the hope that it will be useful, but WITHOUT 12155131Srwatson * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13155131Srwatson * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14168777Srwatson * version 2 for more details (a copy is included in the LICENSE file that 15155131Srwatson * accompanied this code). 16155131Srwatson * 17155131Srwatson * You should have received a copy of the GNU General Public License version 18155131Srwatson * 2 along with this work; if not, write to the Free Software Foundation, 19155131Srwatson * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20155131Srwatson * 21155131Srwatson * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22155131Srwatson * or visit www.oracle.com if you need additional information or have any 23155131Srwatson * questions. 24155131Srwatson */ 25155131Srwatson 26155131Srwatsonpackage javax.lang.model.type; 27185573Srwatson 28155131Srwatson 29155131Srwatson/** 30155131Srwatson * Represents an array type. 31155131Srwatson * A multidimensional array type is represented as an array type 32155131Srwatson * whose component type is also an array type. 33155131Srwatson * 34168777Srwatson * @author Joseph D. Darcy 35155131Srwatson * @author Scott Seligman 36155131Srwatson * @author Peter von der Ahé 37155131Srwatson * @since 1.6 38155131Srwatson */ 39155131Srwatsonpublic interface ArrayType extends ReferenceType { 40168777Srwatson 41168777Srwatson /** 42168777Srwatson * Returns the component type of this array type. 43155131Srwatson * 44155131Srwatson * @return the component type of this array type 45155131Srwatson */ 46168777Srwatson TypeMirror getComponentType(); 47155131Srwatson} 48168777Srwatson