JaroslavTulach commented on a change in pull request #3042:
URL: https://github.com/apache/netbeans/pull/3042#discussion_r667647160



##########
File path: 
groovy/groovy.editor/src/org/netbeans/modules/groovy/editor/utils/GroovyUtils.java
##########
@@ -236,4 +236,25 @@ private static String stripPackageFromTypeParams(String 
params) {
         }
         return sb.toString();
     }
+    
+    /**
+     * True, if the indexing is enabled. Depends system property or {@link 
#setIndexingEnabled(boolean)}.
+     * 
+     */
+    private static volatile boolean indexingEnabled = 
Boolean.valueOf(System.getProperty("org.netbeans.modules.groovy.editor.api.indexingEnabled",
 "true"));
+    
+    /**
+     * Disables completely Groovy indexing. Temporary options only for 12.5 
release, will be hopefully
+     * removed after Groovy performance improves. Currently used reflectively 
from java.lsp.server module only.
+     * DO NOT expose as an API.
+     * @param enabled 
+     */

Review comment:
       Missing `@since`?




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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to