GetterFlavour (@NotNull String methodName) { if (checkPrefix(methodName, GET_PREFIX)) { return GetterFlavour.GENERIC; } else if (checkPrefix(methodName, IS_PREFIX)) { return GetterFlavour.BOOLEAN; } return GetterFlavour.NOT_A_GETTER; }