void () { nonNlsMethod().toUpperCase(); plainMethod().<warning descr="'String.toUpperCase()' called without specifying a Locale using internationalized strings">toUpperCase</warning>(); Clazz clazzInstance = new Clazz(); clazzInstance.nestedNonNlsMethod().toUpperCase(); clazzInstance.nestedPlainMethod().<warning descr="'String.toUpperCase()' called without specifying a Locale using internationalized strings">toUpperCase</warning>(); }