[英](dart:mirrors) - isAbstract for ClassMirror?
Is it possible to figure out if a class is abstract from a ClassMirror? 是否有可能弄清楚类是否是ClassMirror的抽象类? I see this is possible with methods via MethodMirror, but I don't see any way to determine whether or not a class is abstract or not.
我看到通过MethodMirror的方法可以实现这一点,但是我没有看到任何方法来确定一个类是否是抽象的。 Any ideas?
有任何想法吗?
As far as I can tell, this isn't possible. 据我所知,这是不可能的。 Perhaps you can file a request for this feature at https://code.google.com/p/dart/issues/list .
也许您可以通过https://code.google.com/p/dart/issues/list提交此功能的请求。
看起来Dart团队将isAbstract添加到ClassMirror中,所以我已经完成了设置!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.