Documentation

Trace:

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
jvx:common:util:reflective [2018/02/02 11:26]
admin created
jvx:common:util:reflective [2020/07/28 09:52] (current)
cduncan Edited for English grammar (capitalization, punctuation, correct verb conjugation)
Line 2: Line 2:
 ~~Title: Using Reflective~~ ~~Title: Using Reflective~~
  
-JVx' ​Reflective ​class allows you to create class instances or call methods via reflection but without directly using java.lang.reflect. ​+JVx's reflective ​class allows you to create class instances or call methods via reflection but without directly using java.lang.reflect. ​
  
-== How it works? ==+== How does it work? ==
  
 We have a short example for you. Our class: We have a short example for you. Our class:
Line 51: Line 51:
 </​file>​ </​file>​
  
-As you can see, we use the class Reflective.Parameter. It is useful if you have methods with the same namesame number of parameters but with different parameter types. Without this class, it is not guaranteed that the desired method is called.+As you can see, we use the class Reflective.Parameter. It is useful if you have methods with the same name and same number of parameters but with different parameter types. Without this class, it is not guaranteed that the desired method is called.
  
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information