Package org.apache.hadoop.util.dynamic
Class DynConstructors.Ctor<C>
java.lang.Object
org.apache.hadoop.util.dynamic.DynMethods.UnboundMethod
org.apache.hadoop.util.dynamic.DynConstructors.Ctor<C>
- Enclosing class:
- DynConstructors
-
Method Summary
Modifier and TypeMethodDescriptionReturns this method as a BoundMethod for the given receiver.<R> R<R> RinvokeChecked(Object target, Object... args) booleanisStatic()newInstance(Object... args) newInstanceChecked(Object... args) toString()Methods inherited from class org.apache.hadoop.util.dynamic.DynMethods.UnboundMethod
asStatic, invokeStatic, isNoop
-
Method Details
-
getConstructedClass
-
newInstanceChecked
- Throws:
Exception
-
newInstance
-
invoke
- Overrides:
invokein classDynMethods.UnboundMethod
-
invokeChecked
- Overrides:
invokeCheckedin classDynMethods.UnboundMethod- Throws:
Exception
-
bind
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()- Overrides:
isStaticin classDynMethods.UnboundMethod- Returns:
- whether the method is a static method
-
toString
- Overrides:
toStringin classDynMethods.UnboundMethod
-