asClass

Return this as a ClassDeclaration or throw UnsupportedOperationException.