Package com.ultikits.ultitools
Class RuntimeServerApiProbe
java.lang.Object
com.ultikits.ultitools.RuntimeServerApiProbe
- All Implemented Interfaces:
ServerApiProbe
Facts from this start's real parent loader, without initializing server API classes.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ConcurrentMap<String, Boolean> private final ConcurrentMap<String, Boolean> private final ClassLoaderprivate final ConcurrentMap<String, Optional<Class<?>>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static booleandeclaresConstructor(Class<?> type, String descriptor) private static booleandeclaresMethod(Class<?> type, String name, String descriptor, boolean inheritedInterface) private static booleanfindClassMethod(Class<?> type, String name, String descriptor) private static booleanprivate static booleanfindInheritedInterfaceMethod(Class<?> type, String name, String descriptor) private static booleanprivate static booleanfindInterfaceOwnerMethod(Class<?> type, String name, String descriptor) private static booleanfindMethod(Class<?> type, String name, String descriptor) booleanbooleanResolves the exact member, including inherited members according to JVM lookup rules.private static boolean
-
Field Details
-
parent
-
types
-
methods
-
fields
-
-
Constructor Details
-
RuntimeServerApiProbe
RuntimeServerApiProbe(ClassLoader parent)
-
-
Method Details
-
typeKind
- Specified by:
typeKindin interfaceServerApiProbe
-
hasMethod
Description copied from interface:ServerApiProbeResolves the exact member, including inherited members according to JVM lookup rules.- Specified by:
hasMethodin interfaceServerApiProbe
-
hasField
- Specified by:
hasFieldin interfaceServerApiProbe
-
resolve
-
findMethod
-
declaresConstructor
-
findInterfaceOwnerMethod
-
findClassMethod
-
findInheritedInterfaceMethod
-
findInterfaceMethod
-
declaresMethod
-
matches
-
findField
-