| Package | Description |
|---|---|
| org.bbottema.javareflection |
| Modifier and Type | Method and Description |
|---|---|
static JReflect.LookupMode |
JReflect.LookupMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JReflect.LookupMode[] |
JReflect.LookupMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> @NotNull Constructor<T> |
JReflect.findCompatibleConstructor(Class<T> datatype,
EnumSet<JReflect.LookupMode> lookupMode,
Class<?>... types)
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 Method |
JReflect.findCompatibleMethod(Class<?> datatype,
String methodName,
EnumSet<JReflect.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<?>[]> |
JReflect.generateCompatibleSignatures(EnumSet<JReflect.LookupMode> lookupMode,
Class<?>... signature)
Initializes the list with type-arrays and starts generating beginning from index 0.
|
static boolean |
JReflect.isMethodCompatible(Method method,
EnumSet<JReflect.LookupMode> lookupMode,
Class<?>... signature) |
static boolean |
JReflect.isSignatureCompatible(Class<?>[] signature,
Class<?>[] exactTargetSignature,
EnumSet<JReflect.LookupMode> lookupMode) |
Copyright © 2018. All rights reserved.