首页> 外国专利> STRONGLY TYPED METADATA ACCESS IN OBJECT ORIENTED PROGRAMMING LANGUAGES WITH REFLECTION SUPPORT

STRONGLY TYPED METADATA ACCESS IN OBJECT ORIENTED PROGRAMMING LANGUAGES WITH REFLECTION SUPPORT

机译:具有反射支持的面向对象的编程语言中的强类型元数据访问

摘要

Type safety is important property of any type system. Modern programming languages support different mechanisms to work in type safe manner, e.g., properties, methods, events, attributes (annotations) and other structures, but none of the existing, general purpose, programming languages which support reflection provide type safe type (class/structure) member metadata access. Existing solutions provide no or limited type safety which are complex and processed at runtime which by definition is not built-in type-safe metadata access, but only more or less type safe workarounds called “best practices”. Problem can be solved by introducing method for type safe type member metadata access which could be processed at compile time.
机译:类型安全是任何类型系统的重要属性。现代编程语言支持以类型安全的方式工作的不同机制,例如属性,方法,事件,属性(注释)和其他结构,但现有的支持反射的通用编程语言都不提供类型安全的类型(类/结构)成员元数据访问。现有的解决方案不提供复杂的类型安全性,也不提供有限的类型安全性,并且在运行时进行处理,根据定义,这些安全性不是内置的类型安全的元数据访问,而是仅或多或少的称为“最佳实践”的类型安全的变通方法。通过引入可以在编译时进行处理的类型安全类型成员元数据访问的方法,可以解决该问题。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号