darcy@224: /* ohair@554: * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. darcy@224: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. darcy@224: * darcy@224: * This code is free software; you can redistribute it and/or modify it darcy@224: * under the terms of the GNU General Public License version 2 only, as ohair@554: * published by the Free Software Foundation. Oracle designates this darcy@224: * particular file as subject to the "Classpath" exception as provided ohair@554: * by Oracle in the LICENSE file that accompanied this code. darcy@224: * darcy@224: * This code is distributed in the hope that it will be useful, but WITHOUT darcy@224: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or darcy@224: * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License darcy@224: * version 2 for more details (a copy is included in the LICENSE file that darcy@224: * accompanied this code). darcy@224: * darcy@224: * You should have received a copy of the GNU General Public License version darcy@224: * 2 along with this work; if not, write to the Free Software Foundation, darcy@224: * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. darcy@224: * ohair@554: * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA ohair@554: * or visit www.oracle.com if you need additional information or have any ohair@554: * questions. darcy@224: */ darcy@224: darcy@224: package javax.lang.model.element; darcy@224: darcy@224: import java.util.List; darcy@224: darcy@224: /** darcy@224: * A mixin interface for an element that has type parameters. darcy@224: * darcy@224: * @author Joseph D. Darcy darcy@224: * @since 1.7 darcy@224: */ darcy@224: public interface Parameterizable extends Element { darcy@224: /** darcy@224: * Returns the formal type parameters of the type element in darcy@224: * declaration order. darcy@224: * darcy@224: * @return the formal type parameters, or an empty list darcy@224: * if there are none darcy@224: */ darcy@224: List getTypeParameters(); darcy@224: }