class ActorInterfaceDescriptionImpl implements ActorInterfaceDescription {

    @Override
    public boolean validate() {
        if (mElement == null) {
            assert !mErrors.isEmpty();
            return false;
        }

        for (Method method : mMethods) {
            method.validate(mErrors);
        }

        // First check that current state is clear
        for (GenerationError error : mErrors) {
            if (error.isError) {
                return false;
            }
        }

        return true;
    }

      ActorInterfaceDescriptionImpl(@NotNull Element element);

}