Make use of Java's Modifier class