Java classes search example