Save This Page
Home » openjdk-7 » java » lang » reflect » [javadoc | source]
java.lang.reflect
public interface: GenericDeclaration [javadoc | source]

All Known Implementing Classes:
    java$lang$reflect$GenericDeclaration, Constructor, Method, Class

A common interface for all entities that declare type variables.
Method from java.lang.reflect.GenericDeclaration Summary:
getTypeParameters
Method from java.lang.reflect.GenericDeclaration Detail:
 public TypeVariable<?>[] getTypeParameters()
    Returns an array of {@code TypeVariable} objects that represent the type variables declared by the generic declaration represented by this {@code GenericDeclaration} object, in declaration order. Returns an array of length 0 if the underlying generic declaration declares no type variables.