private boolean requiresGetter()

in boolean/src/main/java/org/apache/cxf/xjc/bgi/BooleanGetAndIsPlugin.java [84:93]


    private boolean requiresGetter(Collection<JMethod> methods, JMethod method) {
        String newName = "get" + method.name().substring(2);
        // Check if already exists.
        for (JMethod cursor : methods) {
            if (newName.equals(cursor.name())) {
                return false;
            }
        }
        return true;
    }