public static String objToStr(Object obj, Predicate<EStructuralFeature> ignoredFeatures) { Appendable buf = new StringBuilder(1024); try { objToStrImpl(obj, "", buf, ignoredFeatures); } catch (Exception e) { throw new WrappedException(e); } return buf.toString(); }
public static String objToStr(Object obj, Predicate<EStructuralFeature> ignoredFeatures) { Appendable buf = new StringBuilder(1024); try { objToStrImpl(obj, "", buf, ignoredFeatures); } catch (Exception e) { throw new WrappedException(e); } return buf.toString(); }
buf.append(f.getEType().getName()).append(SPACE); buf.append(f.getName()).append(SPACE); objToStrImpl(eobj.eGet(f), innerIdent, buf, ignoredFeatures); } else { buf.append("ref "); objToStrImpl(at, innerIdent, buf, ignoredFeatures); else buf.append("<same as container object>"); buf.append(e.getEStructuralFeature().getName()); buf.append("->"); objToStrImpl(e.getValue(), innerIdent, buf, ignoredFeatures); return ; printInt(counter++, coll.size(), buf); buf.append(": "); objToStrImpl(o, innerIdent, buf, ignoredFeatures); buf.append("\n");
buf.append(f.getEType().getName()).append(SPACE); buf.append(f.getName()).append(SPACE); objToStrImpl(eobj.eGet(f), innerIdent, buf, ignoredFeatures); } else { buf.append("ref "); objToStrImpl(at, innerIdent, buf, ignoredFeatures); else buf.append("<same as container object>"); buf.append(e.getEStructuralFeature().getName()); buf.append("->"); objToStrImpl(e.getValue(), innerIdent, buf, ignoredFeatures); return ; printInt(counter++, coll.size(), buf); buf.append(": "); objToStrImpl(o, innerIdent, buf, ignoredFeatures); buf.append("\n");