Tue, 25 May 2010 15:54:51 -0700
6943119: Rebrand source copyright notices
Reviewed-by: darcy
darcy@224 | 1 | /* |
ohair@554 | 2 | * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. |
darcy@224 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
darcy@224 | 4 | * |
darcy@224 | 5 | * This code is free software; you can redistribute it and/or modify it |
darcy@224 | 6 | * under the terms of the GNU General Public License version 2 only, as |
ohair@554 | 7 | * published by the Free Software Foundation. Oracle designates this |
darcy@224 | 8 | * particular file as subject to the "Classpath" exception as provided |
ohair@554 | 9 | * by Oracle in the LICENSE file that accompanied this code. |
darcy@224 | 10 | * |
darcy@224 | 11 | * This code is distributed in the hope that it will be useful, but WITHOUT |
darcy@224 | 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
darcy@224 | 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
darcy@224 | 14 | * version 2 for more details (a copy is included in the LICENSE file that |
darcy@224 | 15 | * accompanied this code). |
darcy@224 | 16 | * |
darcy@224 | 17 | * You should have received a copy of the GNU General Public License version |
darcy@224 | 18 | * 2 along with this work; if not, write to the Free Software Foundation, |
darcy@224 | 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
darcy@224 | 20 | * |
ohair@554 | 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
ohair@554 | 22 | * or visit www.oracle.com if you need additional information or have any |
ohair@554 | 23 | * questions. |
darcy@224 | 24 | */ |
darcy@224 | 25 | |
darcy@224 | 26 | package javax.lang.model.element; |
darcy@224 | 27 | |
darcy@224 | 28 | import java.util.List; |
darcy@224 | 29 | |
darcy@224 | 30 | /** |
darcy@224 | 31 | * A mixin interface for an element that has type parameters. |
darcy@224 | 32 | * |
darcy@224 | 33 | * @author Joseph D. Darcy |
darcy@224 | 34 | * @since 1.7 |
darcy@224 | 35 | */ |
darcy@224 | 36 | public interface Parameterizable extends Element { |
darcy@224 | 37 | /** |
darcy@224 | 38 | * Returns the formal type parameters of the type element in |
darcy@224 | 39 | * declaration order. |
darcy@224 | 40 | * |
darcy@224 | 41 | * @return the formal type parameters, or an empty list |
darcy@224 | 42 | * if there are none |
darcy@224 | 43 | */ |
darcy@224 | 44 | List<? extends TypeParameterElement> getTypeParameters(); |
darcy@224 | 45 | } |