public final void addInstanceOf(String className){
  Reject.ifNull(className);
  String value=className.trim();
  if (!value.matches(CLASS_RE)) {
    throw new IllegalArgumentException("\"" + value + "\" is not a valid Java class name");
  }
  instanceOfInterfaces.add(value);
}

public final void addInstanceOf ( String className ) { Reject . ifNull ( className ) ; String value = className . trim ( ) ; if ( ! value . matches ( CLASS_RE ) ) { throw new IllegalArgumentException ( "\"" + value + "\" is not a valid Java class name" ) ; } instanceOfInterfaces . add ( value ) ; }
add an class name which property values must implement .
