* @param classElement the class element
*/
private void computeSubtypesInClass(ClassElement classElement) {
InterfaceType supertypeType = classElement.getSupertype();
if (supertypeType != null) {
ClassElement supertypeElement = supertypeType.getElement();
if (supertypeElement != null) {
putInSubtypeMap(supertypeElement, classElement);
}
}
InterfaceType[] interfaceTypes = classElement.getInterfaces();
for (InterfaceType interfaceType : interfaceTypes) {
ClassElement interfaceElement = interfaceType.getElement();
if (interfaceElement != null) {
putInSubtypeMap(interfaceElement, classElement);
}
}
InterfaceType[] mixinTypes = classElement.getMixins();
for (InterfaceType mixinType : mixinTypes) {
ClassElement mixinElement = mixinType.getElement();
if (mixinElement != null) {
putInSubtypeMap(mixinElement, classElement);
}
}
}