return null;
if (obj instanceof Integer)
{
Integer id = (Integer) obj;
Field field = type.getField( id );
if (field == null)
field = new Field( id, id.toString() );
return field;
}
Assertion.check( obj instanceof String, "obj instanceof String" );
String name = (String) obj;
Field field = type.getField( name );
if (field == null)
field = new Field( name );
return field;
}