public void addVirtualMethod(EncodedMethod method){
  if (method == null) {
    throw new NullPointerException("method == null");
  }
  virtualMethods.add(method);
}

public void addVirtualMethod ( EncodedMethod method ) { if ( method == null ) { throw new NullPointerException ( "method == null" ) ; } virtualMethods . add ( method ) ; }
adds a virtual method .
