public void removeMethod(SootMethod m){
  checkLevel(SIGNATURES);
  if (!m.isDeclared() || m.getDeclaringClass() != this)   throw new RuntimeException("incorrect declarer for remove: " + m.getName());
  if (subSigToMethods.get(m.getNumberedSubSignature()) == null) {
    throw new RuntimeException("Attempt to remove method " + m.getSubSignature() + " which is not in class "+ this);
  }
  subSigToMethods.put(m.getNumberedSubSignature(),null);
  methodList.remove(m);
  m.setDeclared(false);
}

public void removeMethod ( SootMethod m ) { checkLevel ( SIGNATURES ) ; if ( ! m . isDeclared ( ) || m . getDeclaringClass ( ) != this ) throw new RuntimeException ( "incorrect declarer for remove: " + m . getName ( ) ) ; if ( subSigToMethods . get ( m . getNumberedSubSignature ( ) ) == null ) { throw new RuntimeException ( "Attempt to remove method " + m . getSubSignature ( ) + " which is not in class " + this ) ; } subSigToMethods . put ( m . getNumberedSubSignature ( ) , null ) ; methodList . remove ( m ) ; m . setDeclared ( false ) ; }
removes the given method from this class .
