if ( this.variableClass == null ) {
throw new IllegalStateException( "couldn't find type for variable: " + set.variable );
}
if ( readOnly == null ) {
this.readOnly = !completions.containsFactType( this.variableClass );
} else {
this.readOnly = readOnly;
}
if ( this.readOnly ) {