avoid use of deprecated ASM v5 method