About 51 results
Open links in new tab
  1. Reflection support in C - Stack Overflow

    Aug 30, 2009 · Reflection as analysis is generally very weak; usually it can only provide access to function and field names. This weakness comes from the language implementers essentially not …

  2. java - What is reflection and why is it useful? - Stack Overflow

    Sep 1, 2008 · What is reflection, and why is it useful? I'm particularly interested in Java, but I assume the principles are the same in any language.

  3. Why does C++ not have reflection? - Stack Overflow

    Dec 11, 2008 · Unlike reflection in most languages, the plan for c++ reflection is compile time reflection. So at compile time, you can reflect over struct members, function and method parameters and …

  4. c# - Set object property using reflection - Stack Overflow

    Is there a way in C# where I can use reflection to set an object property? Ex: MyObject obj = new MyObject(); obj.Name = "Value"; I want to set obj.Name with reflection. Something like: Reflection.

  5. How can I add reflection to a C++ application? - Stack Overflow

    Sep 3, 2008 · The information you can get back from RTTI isn't enough to do most of the things you'd actually want reflection for though. You can't iterate over the member functions of a class for example.

  6. c# - How costly is .NET reflection? - Stack Overflow

    Reflection is costly because of the many checks the runtime must make whenever you make a request for a method that matches a list of parameters. Somewhere deep inside, code exists that loops over …

  7. Using reflection to get values from properties from a list of a class

    May 23, 2012 · Using reflection to get values from properties from a list of a class Asked 13 years, 11 months ago Modified 13 years, 6 months ago Viewed 70k times

  8. math - Reflection? How do I do it? - Stack Overflow

    Sep 29, 2016 · The formula for reflection is easier to understand if you think to the geometric meaning of the operation of "dot product". The dot product between two 3d vectors is mathematically defined as …

  9. Reflection: How to Invoke Method with parameters - Stack Overflow

    I am trying to invoke a method via reflection with parameters and I get: object does not match target type If I invoke a method without parameters, it works fine. Based on the following code if I...

  10. Change private static final field using Java reflection

    Jul 21, 2010 · I have a class with a private static final field that, unfortunately, I need to change it at run-time. Using reflection I get this error: java.lang.IllegalAccessException: Can not set static final