@Test public void testGetSectionNameColumn() { assertEquals(ContextSection.NAME, getSection(ContextUIModelMapperHelper.NAME_COLUMN_INDEX)); }
public static ContextSection getSection(final int columnIndex) { int _columnIndex = columnIndex; if ((_columnIndex = _columnIndex - ROW_INDEX_COLUMN_COUNT) < 0) { return ContextSection.ROW_INDEX; } if ((_columnIndex = _columnIndex - NAME_COLUMN_COUNT) < 0) { return ContextSection.NAME; } if (_columnIndex - EXPRESSION_COLUMN_COUNT < 0) { return ContextSection.EXPRESSION; } return ContextSection.NONE; }
ContextUIModelMapperHelper { public static ContextSection getSection(final int columnIndex) { int _columnIndex = columnIndex; if ((_columnIndex = _columnIndex - ROW_INDEX_COLUMN_COUNT) < 0) { return ContextSection.ROW_INDEX; } if ((_columnIndex = _columnIndex - NAME_COLUMN_COUNT) < 0) { return ContextSection.NAME; } if (_columnIndex - EXPRESSION_COLUMN_COUNT < 0) { return ContextSection.EXPRESSION; } return ContextSection.NONE; } }
ContextUIModelMapperHelper { public static ContextSection getSection(final int columnIndex) { int _columnIndex = columnIndex; if ((_columnIndex = _columnIndex - ROW_INDEX_COLUMN_COUNT) < 0) { return ContextSection.ROW_INDEX; } if ((_columnIndex = _columnIndex - NAME_COLUMN_COUNT) < 0) { return ContextSection.NAME; } if (_columnIndex - EXPRESSION_COLUMN_COUNT < 0) { return ContextSection.EXPRESSION; } return ContextSection.NONE; }  }
ContextUIModelMapperHelper { public static ContextSection getSection(final int columnIndex) { int _columnIndex = columnIndex; if ((_columnIndex = _columnIndex - ROW_INDEX_COLUMN_COUNT) < 0) { return ContextSection.ROW_INDEX; } if ((_columnIndex = _columnIndex - NAME_COLUMN_COUNT) < 0) { return ContextSection.NAME; } if (_columnIndex - EXPRESSION_COLUMN_COUNT < 0) { return ContextSection.EXPRESSION; } return ContextSection.NONE; }  static ContextSection getSection(final int columnIndex); }
ContextUIModelMapperHelper { public static ContextSection getSection(final int columnIndex) { int _columnIndex = columnIndex; if ((_columnIndex = _columnIndex - ROW_INDEX_COLUMN_COUNT) < 0) { return ContextSection.ROW_INDEX; } if ((_columnIndex = _columnIndex - NAME_COLUMN_COUNT) < 0) { return ContextSection.NAME; } if (_columnIndex - EXPRESSION_COLUMN_COUNT < 0) { return ContextSection.EXPRESSION; } return ContextSection.NONE; }  static ContextSection getSection(final int columnIndex); static final int ROW_COLUMN_INDEX; static final int NAME_COLUMN_INDEX; static final int EXPRESSION_COLUMN_INDEX; }