{
return new JavaInterfaceImpl(enclosingType, document, unit, typeDeclaration);
}
else
{
return new JavaClassImpl(enclosingType, document, unit, typeDeclaration);
}
}
else if (declaration instanceof EnumDeclaration)
{
EnumDeclaration enumDeclaration = (EnumDeclaration) declaration;