Package org.apache.parquet.util
Class DynConstructors.Ctor<C>
- java.lang.Object
-
- org.apache.parquet.util.DynMethods.UnboundMethod
-
- org.apache.parquet.util.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(Object receiver)
Returns this method as a BoundMethod for the given receiver.Class<? extends C>
getConstructedClass()
<R> R
invoke(Object target, Object... args)
<R> R
invokeChecked(Object target, Object... args)
boolean
isStatic()
C
newInstance(Object... args)
C
newInstanceChecked(Object... args)
String
toString()
-
Methods inherited from class org.apache.parquet.util.DynMethods.UnboundMethod
asStatic, isNoop
-
-
-
-
Method Detail
-
invoke
public <R> R invoke(Object target, Object... args)
- Overrides:
invoke
in classDynMethods.UnboundMethod
-
invokeChecked
public <R> R invokeChecked(Object target, Object... args) throws Exception
- Overrides:
invokeChecked
in classDynMethods.UnboundMethod
- Throws:
Exception
-
bind
public DynMethods.BoundMethod bind(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()
- Overrides:
isStatic
in classDynMethods.UnboundMethod
- Returns:
- whether the method is a static method
-
toString
public String toString()
- Overrides:
toString
in classDynMethods.UnboundMethod
-
-