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 Deprecated Methods Modifier and Type Method Description DynMethods.BoundMethod
bind(java.lang.Object receiver)
Returns this method as a BoundMethod for the given receiver.<R> R
invoke(java.lang.Object target, java.lang.Object... args)
<R> R
invokeChecked(java.lang.Object target, java.lang.Object... args)
Deprecated.since 1.7.0, visibility will be reduced in 1.8.0boolean
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
-
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
@Deprecated public <R> R invokeChecked(java.lang.Object target, java.lang.Object... args) throws java.lang.Exception
Deprecated.since 1.7.0, visibility will be reduced in 1.8.0- 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
-
-