[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Class methods
From: |
Archie Cobbs |
Subject: |
Class methods |
Date: |
Thu, 20 Feb 2003 16:49:28 -0800 (PST) |
Hi,
It seems from a first look that these java.lang.Class methods which
are currently native:
Class.getClasses()
Class.getFields()
Class.getMethods()
Class.getConstructors()
could be implemented entirely in Java, by relying on these methods:
Class.getDeclaredClasses()
Class.getDeclaredFields()
Class.getDeclaredMethods()
Class.getDeclaredConstructors()
Class.isInterface()
Class.getSuperclass()
Class.getInterfaces()
Would this work? It would save a lot of native code writing for JVM
implementors.
Thanks,
-Archie
__________________________________________________________________________
Archie Cobbs * Packet Design * http://www.packetdesign.com