boolean (ReferenceID classId) { for (JvmClass cls : getNodes(classId, JvmClass.class)) { if (cls.isInterface()) { int amFound = 0; for (JvmMethod method : allMethodsRecursively(cls)) { if (method.isAbstract() && ++amFound > 1) { break; } } if (amFound == 1) { return true; } } } return false; }