/** * Returns a string representation of this object. */ public String toString() { StringBuffer buf = new StringBuffer("MethodDesc["); toString(buf, true); buf.append(']'); return buf.toString(); }
/** * Returns a string representation of this object. */ public String toString() { StringBuffer buf = new StringBuffer("MethodDesc["); toString(buf, true); buf.append(']'); return buf.toString(); }
/** * Returns a string representation of this object. */ public String toString() { StringBuffer buf = new StringBuffer("BasicMethodConstraints{"); for (int i = 0; i < descs.length; i++) { if (i > 0) { buf.append(", "); } descs[i].toString(buf, true); } buf.append('}'); return buf.toString(); }
/** * Returns a string representation of this object. */ public String toString() { StringBuffer buf = new StringBuffer("BasicMethodConstraints{"); for (int i = 0; i < descs.length; i++) { if (i > 0) { buf.append(", "); } descs[i].toString(buf, true); } buf.append('}'); return buf.toString(); }
/** * Throws IllegalArgumentException if the parameter types of prev cover * those of desc. */ private static void check(MethodDesc prev, MethodDesc desc) { if (prev.types == null || Arrays.equals(prev.types, desc.types)) { StringBuffer buf = new StringBuffer(); prev.toString(buf, false); buf.append(" cannot precede "); desc.toString(buf, false); throw new IllegalArgumentException(buf.toString()); } }
/** * Throws IllegalArgumentException if the parameter types of prev cover those of desc. */ private static void check(MethodDesc prev, MethodDesc desc) { if (prev.types == null || Arrays.equals(prev.types, desc.types)) { StringBuffer buf = new StringBuffer(); prev.toString(buf, false); buf.append(" cannot precede "); desc.toString(buf, false); throw new IllegalArgumentException(buf.toString()); } }