introspection
Class member as a first-class object
I was wondering if there is something in c# to be able to pass a member of a class to another function that will use this member to get a value. So get a value of a field determined only which one at[详细]
2023-02-15 21:16 分类:问答How to detect at runtime whether symbols are stripped?
In my C++ program, how can I detect programmatically开发者_开发知识库 at runtime whether symbols have been stripped via the \'strip\' gnu development tool on Linux?[详细]
2023-02-13 18:14 分类:问答Does Ruby 1.8 have an equivalent to 1.9's __callee__?
I need to grab the name of the lexically enclosing method in Ruby 1.8; e.g. def foo this_method = __callee__# => \'foo\'[详细]
2023-02-13 03:09 分类:问答Determine function name from within that function (without using traceback)
In Python, without using the traceback module, is t开发者_JAVA百科here a way to determine a function\'s name from within that function?[详细]
2023-02-12 15:00 分类:问答How is introspection useful?
I have been programming mainly in PHP, and I am trying to make a switch to python.I am skilled with PHP, and I have never needed to use introspection / introspection like capabilities.What good is cod[详细]
2023-02-12 10:25 分类:问答creating Python classes with arbitrarily substituted attribute name
I apologize for not giving this question a better title; the reason that I am posting it is that I don\'t even have the correct terminology to know what I am looking for.[详细]
2023-02-10 02:08 分类:问答In Python, how can I determine which class a method was declared in?
How can I get a reference to the class a method was declared in? In the code below, I\'m trying to get a reference to Classical in test开发者_开发百科.[详细]
2023-02-08 20:16 分类:问答Generics and java.beans.Introspector
Given the following code skeleton, is it possible to determine that the property foo is in fact of type String?[详细]
2023-02-08 17:23 分类:问答How to find out the default values of a particular function's argument in another function in Python?
Let\'s suppose we have a function like this: def myFunction(arg1=\'a default value\'): pass We can use introspection to find out 开发者_JS百科the names of the arguments that myFunction() takes usin[详细]
2023-02-08 00:55 分类:问答Weblogic10, BlazeDS, FlashBuilder4, Error setup remoting-service bind
i am really not sure what else to try, any help will be appreciated. Thank you 1) I am using weblogic 10, flashbuilder4 eclipse plugin, everything is running off windows xp.[详细]
2023-02-07 14:37 分类:问答