question: private Integer parseInt ( String s , int flags ) { if ( convertColorNames ( flags ) ) { String c = Descriptor . convertColorName ( s ) ; if ( c != null ) { s = c ; } } try { if ( hasLeadingZeros ( s ) ) { return null ; } else { return Integer . decode ( s ) ; } } catch ( NumberFormatException e ) { return null ; } }
target:  We accept 0x and # prefixes.