553N/A * Copyright (c) 2003, 2004, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 553N/A * published by the Free Software Foundation. Oracle designates this 0N/A * particular file as subject to the "Classpath" exception as provided 553N/A * by Oracle in the LICENSE file that accompanied this code. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 553N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 553N/A * or visit www.oracle.com if you need additional information or have any 0N/A * Represents an invocation of a generic class or interface. For example, 0N/A * given the generic interface {@code List<E>}, possible invocations 0N/A * {@code List<String>} 0N/A * {@code List<T extends Number>} 0N/A * A generic inner class {@code Outer<T>.Inner<S>} might be invoked as: 0N/A * {@code Outer<Number>.Inner<String>} 0N/A * @author Scott Seligman 0N/A * Return the generic class or interface that declared this type. 0N/A * @return the generic class or interface that declared this type. 0N/A * Return the actual type arguments of this type. 0N/A * For a generic type that is nested within some other generic type 0N/A * (such as {@code Outer<T>.Inner<S>}), 0N/A * only the type arguments of the innermost type are included. 0N/A * @return the actual type arguments of this type. 0N/A * Return the class type that is a direct supertype of this one. 0N/A * This is the superclass of this type's declaring class, 0N/A * with type arguments substituted in. 0N/A * Return null if this is an interface type. 0N/A * <p> For example, if this parameterized type is 0N/A * {@code java.util.ArrayList<String>}, the result will be 0N/A * {@code java.util.AbstractList<String>}. 0N/A * @return the class type that is a direct supertype of this one. 0N/A * Return the interface types directly implemented by or extended by this 0N/A * parameterized type. 0N/A * These are the interfaces directly implemented or extended 0N/A * by this type's declaring class or interface, 0N/A * with type arguments substituted in. 0N/A * Return an empty array if there are no interfaces. 0N/A * <p> For example, the interface extended by 0N/A * {@code java.util.Set<String>} is {@code java.util.Collection<String>}. 0N/A * @return the interface types directly implemented by or extended by this 0N/A * parameterized type. 0N/A * Return the type that contains this type as a member. 0N/A * Return null is this is a top-level type. 0N/A * <p> For example, the containing type of 0N/A * {@code AnInterface.Nested<Number>} is the <code>ClassDoc</code> 0N/A * representing {@code AnInterface}, and the containing type of 0N/A * {@code Outer<String>.Inner<Number>} is the 0N/A * <code>ParameterizedType</code> representing {@code Outer<String>}. 0N/A * @return the type that contains this type as a member.