getMethods( ) does not return constructor [message #211457] |
Wed, 03 August 2005 09:45  |
Eclipse User |
|
|
|
I am doing introspection of java code using JDT. Once I create compilation
unit from the java source code, I use its types() function to get
TypeDeclaration for that java source file. TypeDeclaration's method
getMethods() neatly returns the array of all methods declared within that
java file including constructors that take arguments. However, default
constructor or constructor that does not take any arguments is not
returned by the method getMethods(). Any suggestions on how to go around
this and abtain the Block from a constructor that does not take any
argumnets will be greatly appriciated. Thank you.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03583 seconds