Package | Description |
---|---|
org.apache.commons.lang3.reflect |
Accumulates common high-level uses of the
java.lang.reflect APIs. |
Modifier and Type | Method and Description |
---|---|
private static MemberUtils.Executable |
MemberUtils.Executable.of(java.lang.reflect.Constructor<?> constructor) |
private static MemberUtils.Executable |
MemberUtils.Executable.of(java.lang.reflect.Method method) |
Modifier and Type | Method and Description |
---|---|
private static int |
MemberUtils.compareParameterTypes(MemberUtils.Executable left,
MemberUtils.Executable right,
java.lang.Class<?>[] actual)
Compares the relative fitness of two Executables in terms of how well they
match a set of runtime parameter types, such that a list ordered
by the results of the comparison would return the best match first
(least).
|
private static float |
MemberUtils.getTotalTransformationCost(java.lang.Class<?>[] srcArgs,
MemberUtils.Executable executable)
Returns the sum of the object transformation cost for each class in the
source argument list.
|
private static boolean |
MemberUtils.isMatchingExecutable(MemberUtils.Executable method,
java.lang.Class<?>[] parameterTypes) |