Package org.apache.iceberg.common
Class DynMethods.StaticMethod
java.lang.Object
org.apache.iceberg.common.DynMethods.StaticMethod
- Enclosing class:
- DynMethods
A static method, invokable without a receiver.
-
Method Summary
Modifier and TypeMethodDescription<R> RInvokes the static method with the given arguments, wrapping checked exceptions in a RuntimeException.<R> RinvokeChecked(Object... args) Invokes the static method with the given arguments.
-
Method Details
-
invokeChecked
Invokes the static method with the given arguments.- Type Parameters:
R- the return type of the method- Parameters:
args- the arguments to pass to the method- Returns:
- the result of the invocation
- Throws:
Exception- if the method throws a checked exception
-
invoke
Invokes the static method with the given arguments, wrapping checked exceptions in a RuntimeException.- Type Parameters:
R- the return type of the method- Parameters:
args- the arguments to pass to the method- Returns:
- the result of the invocation
-