Hello,
I have some inline java to do some reflection on classes. I'm aware of agrahams library but it seems to be missing the possibility to get the parameter types of a method.
It seems this should be supported in java 8, but when trying to compile I get:
On stackoverflow I found (https://stackoverflow.com/questions/2237803/can-i-obtain-method-parameter-name-using-java-reflection)
"Code must be compiled with Java 8 compliant compiler with option to store formal parameter names turned on (-parameters option)."
How can I achieve this in B4J ?
Thanks!
I have some inline java to do some reflection on classes. I'm aware of agrahams library but it seems to be missing the possibility to get the parameter types of a method.
It seems this should be supported in java 8, but when trying to compile I get:
B4X:
Note: src\b4j\example\main.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
On stackoverflow I found (https://stackoverflow.com/questions/2237803/can-i-obtain-method-parameter-name-using-java-reflection)
"Code must be compiled with Java 8 compliant compiler with option to store formal parameter names turned on (-parameters option)."
How can I achieve this in B4J ?
Thanks!