| Modifier and Type | Class and Description |
|---|---|
| private static class | ExecutableHelper.SimpleMethodFilter
A filter implementation filtering methods matching given methods. |
| Modifier and Type | Field and Description |
|---|---|
| private static final Log | |
| private final TypeResolver |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static ElementType | |
| public static String | Returns: A string representation of the given executable.the name of the executable name, Class<?>... the types of the executable's parameters parameterTypes)Returns a string representation of an executable with the given name and parameter types in the form
|
| public static Signature | |
| public static Signature | |
| public static String | |
| private boolean | Returns: true if the parameters of the two methods resolve to the same types, false otherwise.a method on a supertype subTypeMethod, Method a method on a subtype superTypeMethod)Whether the parameters of the two given instance methods resolve to the same types or not. |
| private boolean | |
| private static boolean | |
| public boolean | Returns: true if a pair of methods are equal left == right, or one of the methods
override another one in the class hierarchy with mainSubType at the bottom,
false otherwise.a type at the bottom of class hierarchy to be used to lookup the methods. mainSubType, Method one of the methods to check left, Method another of the methods to check right)Checks if a pair of given methods ( |
| public boolean | |
| public boolean | |
| private <T> T | run(PrivilegedAction<T> action)
Runs the given privileged action, using a privileged block if required. |
| LOG | back to summary |
|---|---|
| private static final Log LOG | |
| typeResolver | back to summary |
|---|---|
| private final TypeResolver typeResolver | |
| ExecutableHelper | back to summary |
|---|---|
| public ExecutableHelper(TypeResolutionHelper typeResolutionHelper) | |
| getElementType | back to summary |
|---|---|
| public static ElementType getElementType(Executable executable) | |
| getExecutableAsString | back to summary |
|---|---|
| public static String getExecutableAsString(String name, Class<?>... parameterTypes) Returns a string representation of an executable with the given name and parameter types in the form
| |
| getSignature | back to summary |
|---|---|
| public static Signature getSignature(Executable executable) | |
| getSignature | back to summary |
|---|---|
| public static Signature getSignature(String name, Class<?>[] parameterTypes) | |
| getSimpleName | back to summary |
|---|---|
| public static String getSimpleName(Executable executable) | |
| instanceMethodParametersResolveToSameTypes | back to summary |
|---|---|
| private boolean instanceMethodParametersResolveToSameTypes(Method subTypeMethod, Method superTypeMethod) Whether the parameters of the two given instance methods resolve to the same types or not. Takes type parameters into account. | |
| instanceMethodParametersResolveToSameTypes | back to summary |
|---|---|
| private boolean instanceMethodParametersResolveToSameTypes(Class<?> mainSubType, Method left, Method right) | |
| isMethodVisibleTo | back to summary |
|---|---|
| private static boolean isMethodVisibleTo(Method visibleMethod, Method otherMethod) | |
| isResolvedToSameMethodInHierarchy | back to summary |
|---|---|
| public boolean isResolvedToSameMethodInHierarchy(Class<?> mainSubType, Method left, Method right) Checks if a pair of given methods (
| |
| overrides | back to summary |
|---|---|
| public boolean overrides(Callable subTypeMethod, Callable superTypeMethod) | |
| overrides | back to summary |
|---|---|
| public boolean overrides(Method subTypeMethod, Method superTypeMethod) Checks, whether | |
| run | back to summary |
|---|---|
| private <T> T run(PrivilegedAction<T> action) Runs the given privileged action, using a privileged block if required. Note This must never be changed into a publicly available method to avoid execution of arbitrary privileged actions within HV's protection domain.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean |
| method1 | back to summary |
|---|---|
| private final Method method1 | |
| method2 | back to summary |
|---|---|
| private final Method method2 | |
| SimpleMethodFilter | back to summary |
|---|---|
| private SimpleMethodFilter(Method method1, Method method2) | |
| include | back to summary |
|---|---|
| public boolean include(RawMethod element) Implements com.
| |