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.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()
-
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:
invoke
in classDynMethods.UnboundMethod
-
invokeChecked
public <R> R invokeChecked(java.lang.Object target, java.lang.Object... args) throws java.lang.Exception
- Overrides:
invokeChecked
in classDynMethods.UnboundMethod
- Throws:
java.lang.Exception
-
bind
public DynMethods.BoundMethod bind(java.lang.Object receiver)
Description copied from class:DynMethods.UnboundMethod
Returns this method as a BoundMethod for the given receiver.- Overrides:
bind
in classDynMethods.UnboundMethod
- Parameters:
receiver
- an Object to receive the method invocation- Returns:
- a
DynMethods.BoundMethod
for this method and the receiver
-
isStatic
public boolean isStatic()
Description copied from class:DynMethods.UnboundMethod
Returns whether the method is a static method.- Overrides:
isStatic
in classDynMethods.UnboundMethod
-
toString
public java.lang.String toString()
- Overrides:
toString
in classDynMethods.UnboundMethod
-
-