Creates a new InstanceOfExp with a specific class name.
// We are using StringValueExp here to be consistent with other queries,
// although we should actually either use a simple string (the classname)
// or a ValueExp - which would allow more complex queries - like for
// instance evaluating the class name from an AttributeValueExp.
// As it stands - using StringValueExp instead of a simple constant string
// doesn't serve any useful purpose besides offering a consistent
// look & feel.
if (classNameValue == null) {
throw new IllegalArgumentException("Null class name.");
}
this.classNameValue = classNameValue;