public void checkFunctions() { Enumeration<Function> en = functions.elements(); while (en.hasMoreElements()) { Function function = (Function) en.nextElement(); if (function.isForward()) { if (!function.isCompleted()) { throw new DinaException( "Неопределенная функция '" + function.getSignature() + "'", DinaException.COMPILATION_ERROR); } } } }