typeparameterdeclaration.java

来自「java1.6众多例子参考」· Java 代码 · 共 47 行

JAVA
47
字号
/* * @(#)TypeParameterDeclaration.java	1.2 05/11/17 * * Copyright 2006 Sun Microsystems, Inc.  All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL.  Use is subject to license terms. */package com.sun.mirror.declaration;import java.util.Collection;import com.sun.mirror.type.*;/** * Represents a formal type parameter of a generic type, method, * or constructor declaration. * A type parameter declares a {@link TypeVariable}. * * @author Joseph D. Darcy * @author Scott Seligman * @version 1.2 05/11/17 * @since 1.5 */public interface TypeParameterDeclaration extends Declaration {    /**     * Returns the bounds of this type parameter.     * These are the types given by the <i>extends</i> clause.     * If there is no explicit <i>extends</i> clause, then     * <tt>java.lang.Object</tt> is considered to be the sole bound.     *     * @return the bounds of this type parameter     */    Collection<ReferenceType> getBounds();    /**     * Returns the type, method, or constructor declaration within which     * this type parameter is declared.     *     * @return the declaration within which this type parameter is declared     */    Declaration getOwner();}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?