Package com.google.gwt.core.ext.typeinfo
Interface HasTypeParameters
-
- All Known Subinterfaces:
JAbstractMethod,JAnnotationMethod,JConstructor,JGenericType,JMethod
public interface HasTypeParametersInterface implemented by elements that can have can have type parameters, namely classes and methods.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JTypeParameter[]getTypeParameters()Returns the type parameters on this element.
-
-
-
Method Detail
-
getTypeParameters
JTypeParameter[] getTypeParameters()
Returns the type parameters on this element.- Returns:
- the type parameters on this element, or zero-sized array if this element is not generic
-
-