getParameterTypes static method
Returns the types of the specified parameters
Implementation
static List<TypeMirror> getParameterTypes(List<ParameterMirror> params) {
final types = <TypeMirror>[];
for (ParameterMirror param in params) {
//TODO(henri) : we have not supported named parameter
// if (param.isNamed) {
// continue;
// }
types.add(param.type);
}
return types;
}