Source Home >> Java Source 1.6.0 >> java.lang.reflect.GenericDeclaration V 0.09
  • 01/*
  • 02 * @(#)GenericDeclaration.java 1.4 05/11/17
  • 03 *
  • 04 * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
  • 05 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  • 06 */
  • 07
  • 08package java.lang.reflect;
  • 09
  • 10/**
  • 11 * A common interface for all entities that declare type variables.
  • 12 *
  • 13 * @since 1.5
  • 14 */
  • 15public interface GenericDeclaration {
  • 16 /**
  • 17 * Returns an array of <tt>TypeVariable</tt> objects that
  • 18 * represent the type variables declared by the generic
  • 19 * declaration represented by this <tt>GenericDeclaration</tt>
  • 20 * object, in declaration order. Returns an array of length 0 if
  • 21 * the underlying generic declaration declares no type variables.
  • 22 *
  • 23 * @return an array of <tt>TypeVariable</tt> objects that represent
  • 24 * the type variables declared by this generic declaration
  • 25 * @throws GenericSignatureFormatError if the generic
  • 26 * signature of this generic declaration does not conform to
  • 27 * the format specified in the Java Virtual Machine Specification,
  • 28 * 3rd edition
  • 29 */
  • 30 public TypeVariable<?>[] getTypeParameters();
  • 31}

文件:GenericDeclaration.java
包名:java.lang.reflect
类名:GenericDeclaration
继承:
接口: