Hi,
I develop a class that contains many methods:
public class EUKSecurityPrivilege { #EUKMacro /// <summary> /// Method can verify if Node is an output MenuItem /// </summary> public static boolean isMenuItemOutput(EUKSecurityTreeNode _eukSecurityTreeNode) { boolean isTrue = false; if(_eukSecurityTreeNode != null && _eukSecurityTreeNode.SecurableType == SecurableType::MenuItemOutput) { isTrue = true; } return isTrue; } public str generatePrivilegeName(EUKSecurityTreeNode _eukSecurityTreeNode) { str finalSecurableName = _eukSecurityTreeNode.SecurableName; if (isMenuItemOutput(_eukSecurityTreeNode)) { // Concatenate Prefix Output Menu item with its name finalSecurableName = #MenuItemOutputPrefix + finalSecurableName ; } }
the method generatePrivilegeName calls the method isMenuItemOutput => I get error :
Severity Code Description Project File Line Suppression State
Error The name 'isMenuItemOutput' does not denote a predefined function, a static method on the Global class nor a previously defined local function.