| Package | Description |
|---|---|
| org.bbottema.javareflection |
| Modifier and Type | Method and Description |
|---|---|
static <T> InvokableObject<Constructor> |
MethodUtils.findCompatibleConstructor(Class<T> datatype,
EnumSet<LookupMode> lookupMode,
Class<?>... signature)
Tries to find a
Constructor of a given type, with a given typelist, where types do not match due to formal types simple types. |
static @NotNull InvokableObject<Method> |
MethodUtils.findCompatibleMethod(Class<?> datatype,
String methodName,
EnumSet<LookupMode> lookupMode,
Class<?>... signature)
Same as
getConstructor(), except for getting a Method of a classtype, using the name to indicate which method should be
located. |
static @Nullable InvokableObject<Method> |
MethodUtils.findSimpleCompatibleMethod(Class<?> datatype,
String methodName,
Class<?>... signature)
Delegates to
MethodUtils.findCompatibleMethod(Class, String, EnumSet, Class...), using strict lookupmode (no autoboxing, casting etc.) and
optional signature parameters. |
Copyright © 2018. All rights reserved.