org.compass.core.util.reflection
Class ReflectionFactory
java.lang.Object
org.compass.core.util.reflection.ReflectionFactory
public class ReflectionFactory
- extends Object
A factory allowing to create ReflectionMethod or
ReflectionField implementations.
- Author:
- kimchy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReflectionFactory
public ReflectionFactory()
getMethod
public static ReflectionMethod getMethod(CompassSettings settings,
Method method)
throws NoSuchMethodException
- Throws:
NoSuchMethodException
getField
public static ReflectionField getField(CompassSettings settings,
Field field)
throws NoSuchFieldException
- Throws:
NoSuchFieldException
getDefaultConstructor
public static ReflectionConstructor getDefaultConstructor(CompassSettings settings,
Class clazz)
getConstructor
public static ReflectionConstructor getConstructor(CompassSettings settings,
Constructor constructor)
Copyright (c) 2004-2008 The Compass Project.