Errai 3.0.1-SNAPSHOT

org.jboss.errai.codegen.meta
Interface MetaGenericDeclaration

All Known Implementing Classes:
AbstractMetaClass, BuildMetaClass, BuildMetaConstructor, BuildMetaMethod, GWTClass, GWTConstructor, GWTMethod, GWTSpecialMethod, JavaReflectionClass, JavaReflectionConstructor, JavaReflectionMethod, MetaClass, MetaConstructor, MetaMethod, ShadowBuildMetaMethod

public interface MetaGenericDeclaration

Umbrella interface for MetaClass, MetaMethod, and MetaConstructor: the three places where a generic type variable can be declared.

Author:
Mike Brock , Jonathan Fuerth

Method Summary
 MetaTypeVariable[] getTypeParameters()
          Returns the array of type variables declared on this generic declaration site, in the order they were declared in the source code.
 

Method Detail

getTypeParameters

MetaTypeVariable[] getTypeParameters()
Returns the array of type variables declared on this generic declaration site, in the order they were declared in the source code.

Returns:
the type variables declared at this site. The returned array is never null, but it will be empty if no type variable are declared at this site.

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.