Is there a possibility to filter the methods returning by the ClassInfo ?
When I make a :
var methodMapIterator:Iterator = dcClassInfo.getMethods().iterator();
while (methodMapIterator.hasNext()) {
trace("Method Name : " + MethodInfo(methodMapIterator.next()).getName() + "()");
}
It traces all methods, even hidden method like isPropertyEnumerable(), watch(), ......
If I want only the class method, how can i do ?
Thanks....and cheer, your framework is incredible! ;)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There's no possibility to filter the methods right now. The problem with Flash is that methods and variables have no type signature and no private or public signature at runtime. We thus can't give any information about these.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you only want the methods of your class you can filter these directly by using the MethodInfo's getDeclaringType() method.
I'll nevertheless add this to my Todo list to provide for general filtering support because this could also improve the performance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
Is there a possibility to filter the methods returning by the ClassInfo ?
When I make a :
var methodMapIterator:Iterator = dcClassInfo.getMethods().iterator();
while (methodMapIterator.hasNext()) {
trace("Method Name : " + MethodInfo(methodMapIterator.next()).getName() + "()");
}
It traces all methods, even hidden method like isPropertyEnumerable(), watch(), ......
If I want only the class method, how can i do ?
Thanks....and cheer, your framework is incredible! ;)
There's no possibility to filter the methods right now. The problem with Flash is that methods and variables have no type signature and no private or public signature at runtime. We thus can't give any information about these.
If you only want the methods of your class you can filter these directly by using the MethodInfo's getDeclaringType() method.
I'll nevertheless add this to my Todo list to provide for general filtering support because this could also improve the performance.
"this could also improve the performance", sure you're right !
Okay I try filtering with the MethodInfo's getDeclaringType()...
Thanks !
eRom