implement java getClasses(Extends|Implements)