On 12/07/2019 18:52, Remi Forax wrote: > why not using ASM [1] instead of rolling your own code ? This is also a fine alternative. Another alternative would be to try to load the class with Class.forName and check the flags there. Maurizio