private void addSuperClasses ( Integer directSuperClass , ClassRecord subClassRecord ) { if ( subClassRecord . superClasses . contains ( directSuperClass ) ) { return ; } subClassRecord . superClasses . add ( directSuperClass ) ; ClassRecord superClassRecord = getClassRecord ( directSuperClass ) ; if ( superClassRecord == null ) { return ; } for ( Integer superClass : superClassRecord . directSuperClasses ) { addSuperClasses ( superClass , subClassRecord ) ; } }
Recursively add indirect subclasses to a class record .