Skip to content
Snippets Groups Projects
Commit a26a21a8 authored by jez04's avatar jez04
Browse files

fix: get all classes if inspect interface

parent 964712ca
No related merge requests found
Pipeline #2178 failed with stages
......@@ -294,9 +294,10 @@ class StructureHelper {
.map(Parameter::getType).map(clazz -> clazz.isArray() ? clazz.arrayType() : clazz)
.filter(Predicate.not(Class::isPrimitive)).map(Class::getCanonicalName)
.forEach(allClassesName::add);
allClassesName.add(foundClass.getSuperclass().getCanonicalName());
if(foundClass.getSuperclass() != null) {
allClassesName.add(foundClass.getSuperclass().getCanonicalName());
}
} catch (ClassNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment