if (validityMethods == null) { validityMethods = new Method[4]; Method m = methodInSharedGSVEngineInstanceWithName("validateEOObjectOnSave"); validityMethods[0] = m;  m = methodInSharedGSVEngineInstanceWithName("validateEOObjectOnDelete"); validityMethods[1] = m;  m = methodInSharedGSVEngineInstanceWithName("validateEOObjectOnInsert"); validityMethods[2] = m;  m = methodInSharedGSVEngineInstanceWithName("validateEOObjectOnUpdate"); validityMethods[3] = m;
if (validityMethods == null) { validityMethods = new Method[4]; Method m = methodInSharedGSVEngineInstanceWithName("validateEOObjectOnSave"); validityMethods[0] = m;  m = methodInSharedGSVEngineInstanceWithName("validateEOObjectOnDelete"); validityMethods[1] = m;  m = methodInSharedGSVEngineInstanceWithName("validateEOObjectOnInsert"); validityMethods[2] = m;  m = methodInSharedGSVEngineInstanceWithName("validateEOObjectOnUpdate"); validityMethods[3] = m; } return validityMethods;
private Method[] validityMethods() {    if (validityMethods == null) {        validityMethods = new Method[4];        Method m = methodInSharedGSVEngineInstanceWithName("validateEOObjectOnSave");        validityMethods[0] = m;                m = methodInSharedGSVEngineInstanceWithName("validateEOObjectOnDelete");        validityMethods[1] = m;        m = methodInSharedGSVEngineInstanceWithName("validateEOObjectOnInsert");        validityMethods[2] = m;        m = methodInSharedGSVEngineInstanceWithName("validateEOObjectOnUpdate");        validityMethods[3] = m;    }    return validityMethods;}