korlov42 commented on code in PR #1109:
URL: https://github.com/apache/ignite-3/pull/1109#discussion_r977271717


##########
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:
   There is one more place actually. PLease take a look at 
`org.apache.ignite.internal.sql.engine.property.PropertiesHelper#createPropsByNameMap`



-- 
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]

Reply via email to