private void addSuperClass(TypeElement element)
{
if (element.getSuperclass() != null)
{
Optional<TypeElement> superclass = element.getSuperclass().accept(new ElementResolver(), null);
if (superclass.isSet())
{
recursiveGetOrAdd(superclass.get(), true);
}
}