public void replace(ClassNode type,int n){
  remove(n);
  push(type);
}

public void replace ( ClassNode type , int n ) { remove ( n ) ; push ( type ) ; }
replace n top level elements with new element of given type
