try {
CtClass[] interfaces = m_class.getInterfaces();
m_interfaces = new ClassInfo[interfaces.length];
for (int i = 0; i < interfaces.length; i++) {
CtClass anInterface = interfaces[i];
ClassInfo classInfo = JavassistClassInfo.getClassInfo(anInterface, (ClassLoader) m_loaderRef.get());
m_interfaces[i] = classInfo;
if (!m_classInfoRepository.hasClassInfo(anInterface.getName())) {
m_classInfoRepository.addClassInfo(classInfo);
}
}