fixed Java class search (TODO: to fix Document obtention)
Signed-off-by:jonathanlermitage <jonathan.lermitage@gmail.com>