Beispiel #1
0
 /** @return a String representation of the information stored about <code>hc</code> */
 public String toString(HClass hc) {
   return m_hcim.get(hc).toString();
 }
Beispiel #2
0
 /** @return a String representation of this HClassInfo object */
 public String toString() {
   return m_hcim.toString();
 }
Beispiel #3
0
 /**
  * @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);
 }
Beispiel #4
0
 /**
  * @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);
 }
Beispiel #5
0
 /** @return the depth of <code>hc</code> in the class hierarchy */
 public int depth(HClass hc) {
   return m_hcim.get(hc).depth();
 }