}
private void makeFeaturesForAkof(CASImpl cas, TTypeSystem m, Types typeKind) {
/* lfs index: 0 */
FeatureStructure fs = newAkof(cas, m, typeKind, lfs);
maybeSetBoolean(fs, m, true);
maybeSetByte(fs, m, (byte)109);
maybeSetShort(fs, m, (short) 23);
maybeSetInt(fs, m, 2345);
maybeSetFloat(fs, m, 123f);
maybeSetLong(fs, m, 345L);
maybeSetDouble(fs, m, 334455.6677d);
maybeSetString(fs, m, "str1");
maybeSetFeature(fs, m, fs);
cas.addFsToIndexes(fs);
FeatureStructure fs1 = fs;
//extreme or unusual values
/* lfs index: 1 */
fs = newAkof(cas, m, typeKind, lfs);
maybeSetBoolean(fs, m, false);
maybeSetByte(fs, m, Byte.MAX_VALUE);
maybeSetShort(fs, m, Short.MAX_VALUE);
maybeSetInt(fs, m, Integer.MAX_VALUE);
maybeSetFloat(fs, m, Float.MAX_VALUE);
maybeSetLong(fs, m, Long.MAX_VALUE);
maybeSetDouble(fs, m, Double.MAX_VALUE);
maybeSetString(fs, m, "");
maybeSetFeature(fs, m, fs1);
cas.addFsToIndexes(fs);
/* lfs index: 2 */
fs = newAkof(cas, m, typeKind, lfs);
maybeSetByte(fs, m, Byte.MIN_VALUE);
maybeSetShort(fs, m, (short) Short.MIN_VALUE);
maybeSetInt(fs, m, Integer.MIN_VALUE);
maybeSetFloat(fs, m, Float.MIN_VALUE);
maybeSetLong(fs, m, Long.MIN_VALUE);
maybeSetDouble(fs, m, Double.MIN_VALUE);
maybeSetString(fs, m, null);
maybeSetFeature(fs, m, fs1);
cas.addFsToIndexes(fs);
FeatureStructure fs3 = fs;
/* lfs index: 3 */
fs = newAkof(cas, m, typeKind, lfs);
maybeSetByte(fs, m, (byte)0);
maybeSetShort(fs, m, (short) 0);
maybeSetInt(fs, m, 0);
maybeSetFloat(fs, m, 0f);
maybeSetLong(fs, m, 0L);
maybeSetDouble(fs, m, 0D);
maybeSetFeature(fs, m, fs1);
cas.addFsToIndexes(fs);
maybeSetFeature(fs3, m, fs); // make a forward ref
FeatureStructure fs4 = fs;
/* lfs index: 4 */
fs = newAkof(cas, m, typeKind, lfs);
maybeSetByte(fs, m, (byte)1);
maybeSetShort(fs, m, (short)1);
maybeSetInt(fs, m, 1);
maybeSetFloat(fs, m, 1.0f);
maybeSetLong(fs, m, 1L);
maybeSetDouble(fs, m, 1.0D);
cas.addFsToIndexes(fs);
// fs = newAkof(cas, m, lfs);
// maybeSetFloat(fs, m, Float.MIN_NORMAL);
// maybeSetDouble(fs, m, Double.MIN_NORMAL);
// cas.addFsToIndexes(fs);
/* lfs index: 5 */
fs = newAkof(cas, m, typeKind, lfs);
maybeSetFloat(fs, m, Float.MIN_VALUE);
maybeSetDouble(fs, m, Double.MIN_VALUE);
cas.addFsToIndexes(fs);
/* lfs index: 6 */
fs = newAkof(cas, m, typeKind, lfs);
maybeSetFloat(fs, m, Float.NaN);
maybeSetDouble(fs, m, Double.NaN);
cas.addFsToIndexes(fs);
/* lfs index: 7 */
fs = newAkof(cas, m, typeKind, lfs);
maybeSetFloat(fs, m, Float.POSITIVE_INFINITY);
maybeSetDouble(fs, m, Double.POSITIVE_INFINITY);
cas.addFsToIndexes(fs);
/* lfs index: 8 */
fs = newAkof(cas, m, typeKind, lfs);
maybeSetFloat(fs, m, Float.NEGATIVE_INFINITY);
maybeSetDouble(fs, m, Double.NEGATIVE_INFINITY);
cas.addFsToIndexes(fs);
// test arrays
/* lfs index: 9 */
fs = newAkof(cas, m, typeKind, lfs);
maybeSetFeatureKind(fs, m, "Aint", cas.createIntArrayFS(0));
maybeSetFeatureKind(fs, m, "Afs", cas.createArrayFS(0));
maybeSetFeatureKind(fs, m, "Afloat", cas.createFloatArrayFS(0));
maybeSetFeatureKind(fs, m, "Adouble", cas.createDoubleArrayFS(0));
maybeSetFeatureKind(fs, m, "Along", cas.createLongArrayFS(0));
maybeSetFeatureKind(fs, m, "Ashort", cas.createShortArrayFS(0));
maybeSetFeatureKind(fs, m, "Abyte", cas.createByteArrayFS(0));
maybeSetFeatureKind(fs, m, "Aboolean", cas.createBooleanArrayFS(0));
maybeSetFeatureKind(fs, m, "Astring", cas.createStringArrayFS(0));
cas.addFsToIndexes(fs);
FeatureStructure fs8 = fs;
/* lfs index: 10 */
fs = newAkof(cas, m, typeKind, lfs);
maybeSetFeatureKind(fs, m, "Aint", cas.createIntArrayFS(2));
maybeSetFeatureKind(fs, m, "Afs", cas.createArrayFS(2));