private static List<String> getfromData(List data, Object comp) {
        List<String> l = new ArrayList<String>();
        ComponentAccess cp = new ComponentAccess(comp);
        Collection<Access> ins = cp.inputs();
        for (int i = 0; i < data.size(); i++) {
            if (data.get(i) instanceof String) {
                String name = data.get(i).toString();  // cover GString
                Access a = findAccessByName(name, ins);
                if (a != null) {
                    l.add(a.getField().getName());
                } else {
                    return l;
                }
            } else {
                return l;
            }
        }
        return l;
    }