"The method must be a member of this class!");
"The field must be a member of this class!");
    public void add(Method method) {        if (method.getClassName().equals(name)) {            methods.add(method);        } else {            throw new IllegalArgumentException(                    "The method must be a member of this class!");        }    }