private void extend(HClass hc) { HField[] hFields = hc.getDeclaredFields(); for (int i = 0; i < hFields.length; i++) { if (hFields[i].isStatic()) m_currentStaticFieldOffset = m_memberMap.map(hFields[i], m_currentStaticFieldOffset); else m_currentFieldOffset = m_memberMap.map(hFields[i], m_currentFieldOffset); } HMethod[] hMethods = hc.getDeclaredMethods(); for (int i = 0; i < hMethods.length; i++) { m_currentMethodOffset = m_memberMap.map(hMethods[i], m_currentMethodOffset); } }
public String toString() { return m_memberMap.toString(); }
int getOffset(HMember hm) { return m_memberMap.get(hm); }