| Package | Description |
|---|---|
| org.bbottema.javareflection | |
| org.bbottema.javareflection.model |
| Modifier and Type | Method and Description |
|---|---|
static <T> Set<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 Set<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 @NotNull List<Class<?>[]> |
TypeUtils.generateCompatibleTypeLists(EnumSet<LookupMode> lookupMode,
Class<?>... inputTypelist)
Initializes the list with type-arrays and starts generating beginning from index 0.
|
static boolean |
MethodUtils.isMethodCompatible(Method method,
EnumSet<LookupMode> lookupMode,
Class<?>... signature) |
static boolean |
TypeUtils.isTypeListCompatible(Class<?>[] inputTypeList,
Class<?>[] targetTypeList,
EnumSet<LookupMode> lookupMode) |
| Modifier and Type | Method and Description |
|---|---|
static LookupMode |
LookupMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LookupMode[] |
LookupMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2019. All rights reserved.