java.lang.reflect.Modifiers defines a set of integer values to be used in various reflection methods. The class should be augmented with enum based equivalents.
###@###.### 10/23/04 00:32 GMT
Comments
EVALUATION
If the core reflection library were being designed now, using an enum instead of an integer would be the proper design approach. However, a retrofit for just this feature would not be worth the extra complication at this point. There are no direct uses of the Modifier class in the API since it just assigns meanings to particular integer values. There is no other obvious name for a "getModifiers" method that would return more structured results.
Closing as will not fix.
11-10-2006
EVALUATION
The 269 API will include an enum for modifiers; introducing such an enum directly into core reflection probably isn't worth the API duplication at this point.
###@###.### 2005-04-27 00:47:30 GMT