link and list java classes