com.dslplatform.json.runtime.ParameterNameExtractor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dsl-json-java8 Show documentation
Show all versions of dsl-json-java8 Show documentation
DSL Platform compatible Java JSON library (https://dsl-platform.com)
package com.dslplatform.json.runtime;
import com.dslplatform.json.Nullable;
import java.lang.reflect.AccessibleObject;
interface ParameterNameExtractor {
/**
* Extract parameter names for a class constructor or method
*
* @param ctorOrMethod should be instance of {@link java.lang.reflect.Constructor} or {@link java.lang.reflect.Method}
* @return array of names or null if information is not available
*/
@Nullable
String[] extractNames(AccessibleObject ctorOrMethod);
}