Interface HasTypeParameters<OWNER extends HasDescription>
- All Known Implementing Classes:
JavaClass
,JavaCodeUnit
,JavaConstructor
,JavaMethod
,JavaStaticInitializer
-
Method Summary
-
Method Details
-
getTypeParameters
- Returns:
- the type parameters of this object, e.g. for any generic method
this would return the<A, B> B someMethod(A a) {..}
JavaTypeVariables
[A, B]
.
If this object is non-generic, e.g. a method
an empty list will be returned.void someMethod() {..}
-