classify java classes