de.jiac.micro.internal.util
Class AbstractReflector
java.lang.Object
de.jiac.micro.internal.util.AbstractReflector
- All Implemented Interfaces:
- IReflector, IHandle
public abstract class AbstractReflector
- extends Object
- implements IReflector
- Version:
- $Revision$
- Author:
- Erdene-Ochir Tuguldur, Marcel Patzlaff
|
Method Summary |
Object |
invokeMethod(Object obj,
String name,
Object arguments)
|
protected abstract Object |
invokeMethod0(Object obj,
String name,
Object[] arguments)
|
abstract Object |
invokeMethodWithDescriptor(Object obj,
String className,
String mName,
String mDescr,
Object arguments)
|
static AbstractReflector |
newInstance(com.github.libxjava.lang.IClassLoader classLoader)
|
void |
writeProperty(Object obj,
String property,
Object argument)
|
protected abstract void |
writeProperty0(Object obj,
String name,
Object[] arguments)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GET_PREFIX
protected static final String GET_PREFIX
- See Also:
- Constant Field Values
IS_PREFIX
protected static final String IS_PREFIX
- See Also:
- Constant Field Values
SET_PREFIX
protected static final String SET_PREFIX
- See Also:
- Constant Field Values
noArgs
protected final Object[] noArgs
oneArgument
protected final Object[] oneArgument
AbstractReflector
public AbstractReflector()
newInstance
public static AbstractReflector newInstance(com.github.libxjava.lang.IClassLoader classLoader)
throws Exception
- Throws:
Exception
writeProperty
public final void writeProperty(Object obj,
String property,
Object argument)
throws Exception
- Specified by:
writeProperty in interface IReflector
- Throws:
Exception
invokeMethod
public final Object invokeMethod(Object obj,
String name,
Object arguments)
throws Exception
- Specified by:
invokeMethod in interface IReflector
- Throws:
Exception
invokeMethodWithDescriptor
public abstract Object invokeMethodWithDescriptor(Object obj,
String className,
String mName,
String mDescr,
Object arguments)
throws Exception
- Specified by:
invokeMethodWithDescriptor in interface IReflector
- Throws:
Exception
writeProperty0
protected abstract void writeProperty0(Object obj,
String name,
Object[] arguments)
throws Exception
- Throws:
Exception
invokeMethod0
protected abstract Object invokeMethod0(Object obj,
String name,
Object[] arguments)
throws Exception
- Throws:
Exception
Copyright © 2008-2011 DAI-Labor. All Rights Reserved.