[−]Struct jni_android_sys::java::lang::invoke::MethodHandles
public class MethodHandles
Required feature: "java-lang-invoke-MethodHandles"
Methods
impl MethodHandles
pub fn lookup<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, MethodHandles_Lookup>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, MethodHandles_Lookup>>, Local<'env, Throwable>>
Required features: "java-lang-invoke-MethodHandles_Lookup"
pub fn publicLookup<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, MethodHandles_Lookup>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, MethodHandles_Lookup>>, Local<'env, Throwable>>
Required features: "java-lang-invoke-MethodHandles_Lookup"
pub fn reflectAs<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Class>>,
arg1: impl Into<Option<&'env MethodHandle>>
) -> Result<Option<Local<'env, Member>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Class>>,
arg1: impl Into<Option<&'env MethodHandle>>
) -> Result<Option<Local<'env, Member>>, Local<'env, Throwable>>
Required features: "java-lang-Class", "java-lang-invoke-MethodHandle", "java-lang-reflect-Member"
pub fn arrayElementGetter<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Class>>
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Class>>
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
Required features: "java-lang-Class", "java-lang-invoke-MethodHandle"
pub fn arrayElementSetter<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Class>>
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Class>>
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
Required features: "java-lang-Class", "java-lang-invoke-MethodHandle"
pub fn spreadInvoker<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env MethodType>>,
arg1: i32
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env MethodType>>,
arg1: i32
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
Required features: "java-lang-invoke-MethodHandle", "java-lang-invoke-MethodType"
pub fn exactInvoker<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env MethodType>>
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env MethodType>>
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
Required features: "java-lang-invoke-MethodHandle", "java-lang-invoke-MethodType"
pub fn invoker<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env MethodType>>
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env MethodType>>
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
Required features: "java-lang-invoke-MethodHandle", "java-lang-invoke-MethodType"
pub fn explicitCastArguments<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env MethodHandle>>,
arg1: impl Into<Option<&'env MethodType>>
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env MethodHandle>>,
arg1: impl Into<Option<&'env MethodType>>
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
Required features: "java-lang-invoke-MethodHandle", "java-lang-invoke-MethodType"
pub fn permuteArguments<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env MethodHandle>>,
arg1: impl Into<Option<&'env MethodType>>,
arg2: impl Into<Option<&'env IntArray>>
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env MethodHandle>>,
arg1: impl Into<Option<&'env MethodType>>,
arg2: impl Into<Option<&'env IntArray>>
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
Required features: "java-lang-invoke-MethodHandle", "java-lang-invoke-MethodType"
pub fn constant<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Class>>,
arg1: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Class>>,
arg1: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
Required features: "java-lang-Class", "java-lang-Object", "java-lang-invoke-MethodHandle"
pub fn identity<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Class>>
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Class>>
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
Required features: "java-lang-Class", "java-lang-invoke-MethodHandle"
pub fn insertArguments<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env MethodHandle>>,
arg1: i32,
arg2: impl Into<Option<&'env ObjectArray<Object, Throwable>>>
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env MethodHandle>>,
arg1: i32,
arg2: impl Into<Option<&'env ObjectArray<Object, Throwable>>>
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
Required features: "java-lang-Object", "java-lang-invoke-MethodHandle"
pub fn dropArguments_MethodHandle_int_List<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env MethodHandle>>,
arg1: i32,
arg2: impl Into<Option<&'env List>>
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env MethodHandle>>,
arg1: i32,
arg2: impl Into<Option<&'env List>>
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
Required features: "java-lang-invoke-MethodHandle", "java-util-List"
pub fn dropArguments_MethodHandle_int_Class_array<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env MethodHandle>>,
arg1: i32,
arg2: impl Into<Option<&'env ObjectArray<Class, Throwable>>>
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env MethodHandle>>,
arg1: i32,
arg2: impl Into<Option<&'env ObjectArray<Class, Throwable>>>
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
Required features: "java-lang-Class", "java-lang-invoke-MethodHandle"
pub fn filterArguments<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env MethodHandle>>,
arg1: i32,
arg2: impl Into<Option<&'env ObjectArray<MethodHandle, Throwable>>>
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env MethodHandle>>,
arg1: i32,
arg2: impl Into<Option<&'env ObjectArray<MethodHandle, Throwable>>>
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
Required features: "java-lang-invoke-MethodHandle"
pub fn collectArguments<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env MethodHandle>>,
arg1: i32,
arg2: impl Into<Option<&'env MethodHandle>>
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env MethodHandle>>,
arg1: i32,
arg2: impl Into<Option<&'env MethodHandle>>
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
Required features: "java-lang-invoke-MethodHandle"
pub fn filterReturnValue<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env MethodHandle>>,
arg1: impl Into<Option<&'env MethodHandle>>
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env MethodHandle>>,
arg1: impl Into<Option<&'env MethodHandle>>
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
Required features: "java-lang-invoke-MethodHandle"
pub fn foldArguments<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env MethodHandle>>,
arg1: impl Into<Option<&'env MethodHandle>>
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env MethodHandle>>,
arg1: impl Into<Option<&'env MethodHandle>>
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
Required features: "java-lang-invoke-MethodHandle"
pub fn guardWithTest<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env MethodHandle>>,
arg1: impl Into<Option<&'env MethodHandle>>,
arg2: impl Into<Option<&'env MethodHandle>>
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env MethodHandle>>,
arg1: impl Into<Option<&'env MethodHandle>>,
arg2: impl Into<Option<&'env MethodHandle>>
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
Required features: "java-lang-invoke-MethodHandle"
pub fn catchException<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env MethodHandle>>,
arg1: impl Into<Option<&'env Class>>,
arg2: impl Into<Option<&'env MethodHandle>>
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env MethodHandle>>,
arg1: impl Into<Option<&'env Class>>,
arg2: impl Into<Option<&'env MethodHandle>>
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
Required features: "java-lang-Class", "java-lang-invoke-MethodHandle"
pub fn throwException<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Class>>,
arg1: impl Into<Option<&'env Class>>
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Class>>,
arg1: impl Into<Option<&'env Class>>
) -> Result<Option<Local<'env, MethodHandle>>, Local<'env, Throwable>>
Required features: "java-lang-Class", "java-lang-invoke-MethodHandle"
Methods from Deref<Target = Object>
pub fn getClass<'env>(
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
Required features: "java-lang-Class"
pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn notify<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn notifyAll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn wait_long<'env>(
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for MethodHandles
impl AsValidJObjectAndEnv for MethodHandles
impl Deref for MethodHandles
impl JniType for MethodHandles
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for MethodHandles
impl !Send for MethodHandles
impl !Sync for MethodHandles
impl Unpin for MethodHandles
impl UnwindSafe for MethodHandles
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,