[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cp-patches] RFC: Reflection refactoring
From: |
Jeroen Frijters |
Subject: |
RE: [cp-patches] RFC: Reflection refactoring |
Date: |
Tue, 22 Mar 2005 15:22:15 +0100 |
Archie Cobbs wrote:
> Jeroen Frijters wrote:
> > I would like to add an indirection layer to reflection (attached is
> > java.lang.reflect.Field, but I also want to do this for Method and
> > Constructor). By doing this, we can start caching these
> objects in Class
> > and have a Classpath common reflection caching mechanism.
>
> Aren't these mutable objects though?
java.lang.reflect.Field is mutable, that's why I introduced VMField, it
contains the immutable "guts" of the field, and Field is simply a very
thin wrapper around it.
Regards,
Jeroen