Content deleted Content added
Hervegirod (talk | contribs) |
Hervegirod (talk | contribs) |
||
Line 30:
When looking for [[Method (computer science)|methods]] with a particular signature, each argument of the [[Method signature|method signature]] must be defined using its corresponding [[Class (computer science)|Class]] type. To be able to define primitive arguments, each primitive type is associated with an immutable [[Class (computer science)|Class]] that represent this type when using reflection.
Suppose a class ''Foo'' with one [[Method (computer science)|method]] called ''doSomething'',
<source lang="java">
// Without reflection
|