DeclarationVisitor: handle final annotation