private void init(String name){
  if (name == null) {
    throw new NullPointerException("name cannot be null");
  }
 else   if (name.length() == 0) {
    throw new IllegalArgumentException("name cannot be empty");
  }
  int i=name.lastIndexOf('.');
  if (i >= 0) {
    iface=name.substring(0,i);
    name=name.substring(i + 1);
  }
  if (!name.equals("*")) {
    method=name;
  }
  if (iface != null && !validClass(iface)) {
    throw new IllegalArgumentException("invalid interface name");
  }
 else   if (method != null && !validMethod(method)) {
    throw new IllegalArgumentException("invalid method name");
  }
}

private void init ( String name ) { if ( name == null ) { throw new NullPointerException ( "name cannot be null" ) ; } else if ( name . length ( ) == 0 ) { throw new IllegalArgumentException ( "name cannot be empty" ) ; } int i = name . lastIndexOf ( '.' ) ; if ( i >= 0 ) { iface = name . substring ( 0 , i ) ; name = name . substring ( i + 1 ) ; } if ( ! name . equals ( "*" ) ) { method = name ; } if ( iface != null && ! validClass ( iface ) ) { throw new IllegalArgumentException ( "invalid interface name" ) ; } else if ( method != null && ! validMethod ( method ) ) { throw new IllegalArgumentException ( "invalid method name" ) ; } }
parses the target name and initializes the transient fields .
