public static class DynConstructors.Ctor<C> extends DynMethods.UnboundMethod
| Modifier and Type | Method and Description |
|---|---|
DynMethods.BoundMethod |
bind(java.lang.Object receiver)
Returns this method as a BoundMethod for the given receiver.
|
java.lang.Class<? extends C> |
getConstructedClass() |
<R> R |
invoke(java.lang.Object target,
java.lang.Object... args) |
<R> R |
invokeChecked(java.lang.Object target,
java.lang.Object... args) |
boolean |
isStatic()
Returns whether the method is a static method.
|
C |
newInstance(java.lang.Object... args) |
C |
newInstanceChecked(java.lang.Object... args) |
java.lang.String |
toString() |
asStatic, isNooppublic java.lang.Class<? extends C> getConstructedClass()
public C newInstanceChecked(java.lang.Object... args) throws java.lang.Exception
java.lang.Exceptionpublic C newInstance(java.lang.Object... args)
public <R> R invoke(java.lang.Object target,
java.lang.Object... args)
invoke in class DynMethods.UnboundMethodpublic <R> R invokeChecked(java.lang.Object target,
java.lang.Object... args)
throws java.lang.Exception
invokeChecked in class DynMethods.UnboundMethodjava.lang.Exceptionpublic DynMethods.BoundMethod bind(java.lang.Object receiver)
DynMethods.UnboundMethodbind in class DynMethods.UnboundMethodreceiver - an Object to receive the method invocationDynMethods.BoundMethod for this method and the receiverpublic boolean isStatic()
DynMethods.UnboundMethodisStatic in class DynMethods.UnboundMethodpublic java.lang.String toString()
toString in class DynMethods.UnboundMethod