An annotation processor to generate stub classes in Java