Is there a way to fetch parameter names of Interfaces from compiled source at runtime?
Use case: I am creating some proxy instances based on some interfaces. I need to get parameter names to create some SQL statements.
Any help?
Is there a way to fetch parameter names of Interfaces from compiled source at runtime?
Use case: I am creating some proxy instances based on some interfaces. I need to get parameter names to create some SQL statements.
Any help?
Since Java SE 8, this is possible if you compiled your interfaces with the -parameters option:
http://docs.oracle.com/javase/tutorial/reflect/member/methodparameterreflection.html