org.simantics.databoard.method
Class MethodReflectionBinding
java.lang.Object
org.simantics.databoard.method.MethodReflectionBinding
public class MethodReflectionBinding
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodReflectionBinding
public MethodReflectionBinding()
getMethodBinding
public MethodTypeBinding getMethodBinding(java.lang.reflect.Method m)
throws BindingConstructionException
- Get method binding of a method.
Method arguments are wrapped into an Object[].
Throwables in an UnionType.
- Parameters:
m
-
- Returns:
- method bindings
- Throws:
BindingConstructionException
getMethodDescription
public MethodTypeDefinition getMethodDescription(java.lang.reflect.Method m)
throws DatatypeConstructionException
- Get method description
- Parameters:
m
-
- Returns:
- method description
- Throws:
DatatypeConstructionException
getMethodType
public MethodType getMethodType(java.lang.reflect.Method m)
throws DatatypeConstructionException
- Get method type
- Parameters:
m
-
- Returns:
- method type
- Throws:
DatatypeConstructionException
getInterfaceBinding
public MethodTypeBinding[] getInterfaceBinding(java.lang.Class<?> interfaze)
throws BindingConstructionException
- Throws:
BindingConstructionException
getInterfaceType
public Interface getInterfaceType(java.lang.Class<?> interfaze)
throws BindingConstructionException
- Throws:
BindingConstructionException