Bytecode analysis for Scala library usage