Commit 1258cada by Tom Tromey Committed by Tom Tromey

Class.h (_getMethods): Correctly declare as private, not public.

	* java/lang/Class.h (_getMethods): Correctly declare as private,
	not public.

From-SVN: r31246
parent 6f2b93eb
2000-01-05 Tom Tromey <tromey@cygnus.com> 2000-01-05 Tom Tromey <tromey@cygnus.com>
* java/lang/Class.h (_getMethods): Correctly declare as private,
not public.
* java/lang/Class.h (_getMethods): Declare. * java/lang/Class.h (_getMethods): Declare.
* java/lang/Class.java (_getMethods): Declare. * java/lang/Class.java (_getMethods): Declare.
* java/lang/natClass.cc (getDeclaringClass): Always return NULL. * java/lang/natClass.cc (getDeclaringClass): Always return NULL.
......
...@@ -97,6 +97,8 @@ private: ...@@ -97,6 +97,8 @@ private:
jint _getFields (JArray<java::lang::reflect::Field *> *result, jint offset); jint _getFields (JArray<java::lang::reflect::Field *> *result, jint offset);
JArray<java::lang::reflect::Constructor *> *_getConstructors (jboolean); JArray<java::lang::reflect::Constructor *> *_getConstructors (jboolean);
java::lang::reflect::Field *getField (jstring, jint); java::lang::reflect::Field *getField (jstring, jint);
jint _getMethods (JArray<java::lang::reflect::Method *> *result,
jint offset);
public: public:
JArray<java::lang::reflect::Field *> *getFields (void); JArray<java::lang::reflect::Field *> *getFields (void);
...@@ -105,8 +107,6 @@ public: ...@@ -105,8 +107,6 @@ public:
void getSignature (java::lang::StringBuffer *buffer); void getSignature (java::lang::StringBuffer *buffer);
static jstring getSignature (JArray<jclass> *, jboolean is_constructor); static jstring getSignature (JArray<jclass> *, jboolean is_constructor);
java::lang::reflect::Method *getMethod (jstring, JArray<jclass> *); 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); JArray<java::lang::reflect::Method *> *getMethods (void);
jint getModifiers (void) jint getModifiers (void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment