groovy.lang
Class MetaClassRegistry
java.lang.Object
|
+--groovy.lang.MetaClassRegistry
- public class MetaClassRegistry
- extends Object
A registery of MetaClass instances which caches introspection &
reflection information and allows methods to be dynamically added to
existing classes at runtime
- Version:
- $Revision: 1.4 $
- Author:
- James Strachan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetaClassRegistry
public MetaClassRegistry()
MetaClassRegistry
public MetaClassRegistry(boolean useAccessible)
- Parameters:
useAccessible
- defines whether or not the AccessibleObject.setAccessible()
method will be called to enable access to all methods when using reflection
getMetaClass
public groovy.lang.MetaClass getMetaClass(Class theClass)
useAccessible
public boolean useAccessible()
Copyright © 2003 The Codehaus. All Rights Reserved.