• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem In Coding  RSS feed

 
Punya Pratap Singh
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Definition.getDefinition(Project.class);

This type of some strange coding for me.
what is being passed in as parameter.i guess this is related to Reflection.please Explain?

As I read ,that there is a Final class for each class at RunTime which is of Type Class.
when this Class type is created means at class loading time or at Run Time ?
because it is called Class descriptor Object Instance.
please Expalin in Detail and also provide me links for good book or Tutorial for the same(Reflection).

 
Campbell Ritchie
Marshal
Posts: 56599
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Problem in Coding" hardly tells us what your question is about.

You will have to get details of the Definition class from whoever wrote it.
 
Henry Wong
author
Sheriff
Posts: 23295
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Punya Pratap Singh wrote:also provide me links for good book or Tutorial for the same(Reflection).




http://download.oracle.com/javase/tutorial/reflect/index.html
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!