/** @return a String representation of the information stored about <code>hc</code> */ public String toString(HClass hc) { return m_hcim.get(hc).toString(); }
/** @return a String representation of this HClassInfo object */ public String toString() { return m_hcim.toString(); }
/** * @return the offset of of <code>hf</code> from the initial field. For instance, if <code>hf * </code> is the 3rd field in its class, <code>getFieldOffset</code> returns 2. */ public int getFieldOffset(HField hf) { return m_hcim.get(hf.getDeclaringClass()).getOffset(hf); }
/** * @return the offset of of <code>hm</code> from the initial method. For instance, if <code>hm * </code> is the 3rd method in its class, <code>getMethodOffset()</code> returns 2. */ public int getMethodOffset(HMethod hm) { return m_hcim.get(hm.getDeclaringClass()).getOffset(hm); }
/** @return the depth of <code>hc</code> in the class hierarchy */ public int depth(HClass hc) { return m_hcim.get(hc).depth(); }