Package io.keikai.doc.io.schema.utils
Class Util
java.lang.Object
io.keikai.doc.io.schema.utils.Util
Internal Use Only.
Utility methods.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisTypeSupported(org.slf4j.Logger log, Object o, Class<?> cls, String methodName) Returns whether the object is an instance of the specified class, if not, log an info.
-
Constructor Details
-
Util
public Util()
-
-
Method Details
-
isTypeSupported
public static boolean isTypeSupported(org.slf4j.Logger log, Object o, Class<?> cls, String methodName) Returns whether the object is an instance of the specified class, if not, log an info.- Parameters:
log- the logger to log the infoo- the object to checkcls- the class currently supportedmethodName- the method name to show in the log- Returns:
- whether the object is an instance of the specified class
-