public static EnumListenerEvent getEnumListenerEvent(int eventCode) {
    if (eventCode > 0 && eventCode <= instances.length) {
      return instances[eventCode - 1];
    }
    return null;
  }
This method returns the EnumListenerEvent object corresponding to the cCode given.

The mapping of cCode to EnumListenerEvent is :
<ul>
<li>1 - AFTER_CREATE
<li>2 - AFTER_UPDATE
<li>3 - AFTER_INVALIDATE
<li>4 - AFTER_DESTROY
<li>5 - AFTER_REGION_CREATE
<li>6 - AFTER_REGION_INVALIDATE
<li>7 - AFTER_REGION_CLEAR
<li>8 - AFTER_REGION_DESTROY
<li>9 - AFTER_REMOTE_REGION_CREATE
<li>10 - AFTER_REMOTE_REGION_DEPARTURE
<li>11 - AFTER_REMOTE_REGION_CRASH
<li>12 - AFTER_ROLE_GAIN
<li>13 - AFTER_ROLE_LOSS
<li>14 - AFTER_REGION_LIVE
<li>15 - AFTER_REGISTER_INSTANTIATOR
<li>16 - AFTER_REGISTER_DATASERIALIZER
<li>17 - AFTER_TOMBSTONE_EXPIRATION
<li>18 - TIMESTAMP_UPDATE
<li>19 - AFTER_UPDATE_WITH_GENERATE_CALLBACKS
</ul>

@param eventCode the eventCode corresponding to the EnumListenerEvent object desired
@return the EnumListenerEvent object corresponding to the cCode
geode-core/src/main/java/org/apache/geode/internal/cache/EnumListenerEvent.java