Class ConstructorPropertyNameExtractor
java.lang.Object
com.gigaspaces.internal.reflection.fast.ConstructorPropertyNameExtractor
- Since:
- 9.6
- Author:
- Dan Kilman
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String[]getParameterNames(Constructor<?> constructor) Returns a list containing one parameter name for each argument accepted by the given constructor.
-
Constructor Details
-
ConstructorPropertyNameExtractor
public ConstructorPropertyNameExtractor()
-
-
Method Details
-
getParameterNames
Returns a list containing one parameter name for each argument accepted by the given constructor. If the class was compiled with debugging symbols, the parameter names will match those provided in the Java source code. Otherwise, a generic "arg" parameter name is generated ("arg0" for the first argument, "arg1" for the second...). This method relies on the constructor's class loader to locate the bytecode resource that defined its class.- Throws:
IOException
-