Package org.apache.iceberg.common
Class DynConstructors.Ctor<C>
- java.lang.Object
-
- org.apache.iceberg.common.DynMethods.UnboundMethod
-
- org.apache.iceberg.common.DynConstructors.Ctor<C>
-
- Enclosing class:
- DynConstructors
public static class DynConstructors.Ctor<C> extends DynMethods.UnboundMethod
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DynMethods.BoundMethodbind(java.lang.Object receiver)Returns this method as a BoundMethod for the given receiver.java.lang.Class<? extends C>getConstructedClass()<R> Rinvoke(java.lang.Object target, java.lang.Object... args)<R> RinvokeChecked(java.lang.Object target, java.lang.Object... args)booleanisStatic()Returns whether the method is a static method.CnewInstance(java.lang.Object... args)CnewInstanceChecked(java.lang.Object... args)java.lang.StringtoString()-
Methods inherited from class org.apache.iceberg.common.DynMethods.UnboundMethod
asStatic, isNoop
-
-
-
-
Method Detail
-
getConstructedClass
public java.lang.Class<? extends C> getConstructedClass()
-
newInstanceChecked
public C newInstanceChecked(java.lang.Object... args) throws java.lang.Exception
- Throws:
java.lang.Exception
-
newInstance
public C newInstance(java.lang.Object... args)
-
invoke
public <R> R invoke(java.lang.Object target, java.lang.Object... args)- Overrides:
invokein classDynMethods.UnboundMethod
-
invokeChecked
public <R> R invokeChecked(java.lang.Object target, java.lang.Object... args) throws java.lang.Exception- Overrides:
invokeCheckedin classDynMethods.UnboundMethod- Throws:
java.lang.Exception
-
bind
public DynMethods.BoundMethod bind(java.lang.Object receiver)
Description copied from class:DynMethods.UnboundMethodReturns this method as a BoundMethod for the given receiver.- Overrides:
bindin classDynMethods.UnboundMethod- Parameters:
receiver- an Object to receive the method invocation- Returns:
- a
DynMethods.BoundMethodfor this method and the receiver
-
isStatic
public boolean isStatic()
Description copied from class:DynMethods.UnboundMethodReturns whether the method is a static method.- Overrides:
isStaticin classDynMethods.UnboundMethod
-
toString
public java.lang.String toString()
- Overrides:
toStringin classDynMethods.UnboundMethod
-
-