[]Struct jni_android_sys::java::lang::invoke::MethodHandles

#[repr(transparent)]
pub struct 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]

lookup

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]

publicLookup

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]

reflectAs

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]

arrayElementGetter

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]

arrayElementSetter

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]

spreadInvoker

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]

exactInvoker

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]

invoker

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]

explicitCastArguments

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]

permuteArguments

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]

constant

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]

identity

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]

insertArguments

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]

dropArguments

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]

dropArguments

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]

filterArguments

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]

collectArguments

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]

filterReturnValue

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]

foldArguments

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]

guardWithTest

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]

catchException

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]

throwException

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]

getClass

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]

equals

Required features: "java-lang-Object"

pub fn toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

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]

pub fn wait_long_int<'env>(
    &'env self,
    arg0: i64,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

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

type Target = Object

The resulting type after dereferencing.

impl JniType for MethodHandles

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.