I want to add scripting support for an Objective-C project using the ob开发者_如何学JAVAjc runtime. Now I face the problem, that I don\'t have a clue, how I should call an Objective-C method which tak
I have the following classes: public class MyEventArgs : EventArgs { public object State; public MyEventArgs (object state)
I would like to get a list of all the classes belonging to a certain package as well as all of their 开发者_如何学Cchildren.The classes may or may not be already loaded in the JVM.It\'s not a programm
How can i check whether a package like javax.servlet.* exists开发者_StackOverflow or not in my installation of java?Java can only tell you if it can load a class. It can\'t tell you if a package exist
I\'m trying to create a class that can instantiate arrays at runtime by giving each array a \"name\" created by the createtempobjectname() method. I\'m having trouble making this program run. I would
This question is sort of a follow-up to my original question here. Let\'s say that I have the following generic class (simplifying! ^_^):
How can I get the ConstructorInfo for a static constructor? public class MyClass { public static int SomeValue;
I want to use reflection in java, I want to do that third 开发者_开发知识库class will read the name of the class as String from console. Upon reading the name of the class, it will automatically and d
From managed code, how do I load a managed type from another assembly at runtime, assuming the calling code does not have a static reference to the assembly?
I came to ruby from PHP. How could i do the next thing in ruby? $className =开发者_StackOverflow \'ArrayObject\';