Class.h (_getMethods): Declare.
* java/lang/Class.h (_getMethods): Declare. * java/lang/Class.java (_getMethods): Declare. * java/lang/natClass.cc (getDeclaringClass): Always return NULL. (getDeclaredClasses): Always return empty array. (_getMethods): New method. (getMethods): Wrote. (getDeclaredMethod): Return `rmethod'. (finit_name): New global. (getDeclaredMethods): Check for finit_name. (_getMethods): Likewise. (getMethod): Only return public methods. From-SVN: r31245
This commit is contained in:
parent
cb3ca04ee1
commit
6f2b93eb2f
4 changed files with 143 additions and 8 deletions
|
@ -105,6 +105,8 @@ public:
|
|||
void getSignature (java::lang::StringBuffer *buffer);
|
||||
static jstring getSignature (JArray<jclass> *, jboolean is_constructor);
|
||||
java::lang::reflect::Method *getMethod (jstring, JArray<jclass> *);
|
||||
jint _getMethods (JArray<java::lang::reflect::Method *> *result,
|
||||
jint offset);
|
||||
JArray<java::lang::reflect::Method *> *getMethods (void);
|
||||
|
||||
jint getModifiers (void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue