added undeprecated change + methods to check annotation from jar file