ygerzhedovich commented on code in PR #1109:
URL: https://github.com/apache/ignite-3/pull/1109#discussion_r976610219
##########
modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java:
##########
@@ -828,4 +832,34 @@ public static void inBusyLock(IgniteSpinBusyLock busyLock,
Runnable fn) {
busyLock.leaveBusy();
}
}
+
+ /**
+ * Collects all the fields of given class which are defined as a public
static within the specified class.
+ *
+ * @param sourceCls The class to lookup fields in.
+ * @param targetCls Type of the fields of interest.
+ * @return A mapping name to property itself.
+ */
+ public static <T> List<T> collectStaticFields(Class<?> sourceCls, Class<?
extends T> targetCls) {
Review Comment:
I'm not sure that will be used anymore except specific of
ConfigurationToSchemaDescriptorConverter. Should we move it to converter class?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]