Kind (int value) { switch (value) { case 1: return ERROR; case 2: return WARNING; case 3: return INFO; case 4: return PROGRESS; case 5: return JPS_INFO; case 6: return OTHER; case 7: return INTERNAL_BUILDER_ERROR; default: return null; } }