samedi 27 juin 2020

Java class that represent method name and formal parameters

Is there a JDK Java class that represents a method name and formal parameters without the declaraing class. If I use the Java class Method from java.lang.reflect I usually get

too much information:

public class Method

clazz: The declaring class
name: The method name
parameterTypes: The formal parameters
Etc..

I am seeking a class which already exists in the JDK and which would cover:

public class ??

name: The method name
parameterTypes: The formal parameters

Best Regards





Aucun commentaire:

Enregistrer un commentaire