So here is my situation I am comparing two situations of the WallEnums to the rest of them.
import static com.gowallgo.enumtypes.WallEnums.CAW;
"" ( and the rest )
/**
* {@link Set} of cancel {@link WallEnums}s
*/
private static final Set<WallEnums> WALL_CODES = asSet(RES, CAW, AAP, ASV, CQP, OQR);
// more stuff and then I use it here .
if (wallEnum != WALL_CODES.contains(wallEnum)){}
this begs for refactoring . where should I start so I don't need to make a static import for each code ?
import static com.gowallgo.enumtypes.WallEnums.*?Enum.values()?if (wallEnum != WALL_CODES.contains(wallEnum)){}compare an enum value to a boolean?