Hello,
I'm writing small and very DRY framework, which heavily relies on metadata. I'd like to know if there is a way to obtain method parameter names, i.e. given some method
public void a(int myIntParam, String theString) { ... }
get the strings "myIntParam"
and "theString"
.
I know I could annotate parameters, but that wouldn't be nice...
public void a(
@Param("myIntParam") int myIntParam,
@Param("theString") String theString
) { ... }