Struct rucaja::JvmMethod
[−]
[src]
pub struct JvmMethod { /* fields omitted */ }
Represents a method in a class in the JVM.
Methods
impl<'a> JvmMethod
[src]
fn call_constructor(
jvm_attachment: &JvmAttachment,
jvm_class: &JvmClass,
jvm_constructor_method: &JvmMethod,
args: *const jvalue
) -> jobject
[src]
jvm_attachment: &JvmAttachment,
jvm_class: &JvmClass,
jvm_constructor_method: &JvmMethod,
args: *const jvalue
) -> jobject
Tries to call the given JVM object constructor in the given JVM class. Currently panics if a JVM exception occurs.
fn call_static_boolean_method(
jvm_attachment: &JvmAttachment,
jvm_class: &JvmClass,
jvm_method: &JvmMethod,
args: *const jvalue
) -> jboolean
[src]
jvm_attachment: &JvmAttachment,
jvm_class: &JvmClass,
jvm_method: &JvmMethod,
args: *const jvalue
) -> jboolean
Tries to call the given JVM static boolean method in the given JVM class. Currently panics if a JVM exception occurs.
fn call_static_int_method(
jvm_attachment: &JvmAttachment,
jvm_class: &JvmClass,
jvm_method: &JvmMethod,
args: *const jvalue
) -> jint
[src]
jvm_attachment: &JvmAttachment,
jvm_class: &JvmClass,
jvm_method: &JvmMethod,
args: *const jvalue
) -> jint
Tries to call the given JVM static int method in the given JVM class. Currently panics if a JVM exception occurs.
fn call_static_object_method(
jvm_attachment: &'a JvmAttachment,
jvm_class: &JvmClass,
jvm_method: &JvmMethod,
args: *const jvalue
) -> Option<JvmObject<'a>>
[src]
jvm_attachment: &'a JvmAttachment,
jvm_class: &JvmClass,
jvm_method: &JvmMethod,
args: *const jvalue
) -> Option<JvmObject<'a>>
fn call_static_void_method(
jvm_attachment: &JvmAttachment,
jvm_class: &JvmClass,
jvm_method: &JvmMethod,
args: *const jvalue
)
[src]
jvm_attachment: &JvmAttachment,
jvm_class: &JvmClass,
jvm_method: &JvmMethod,
args: *const jvalue
)
Tries to call the given JVM static void method in the given JVM class. Currently panics if a JVM exception occurs.
fn get_constructor(
jvm_attachment: &JvmAttachment,
jvm_class: &JvmClass,
jvm_method_signature: &str
) -> Option<JvmMethod>
[src]
jvm_attachment: &JvmAttachment,
jvm_class: &JvmClass,
jvm_method_signature: &str
) -> Option<JvmMethod>
Tries to resolve the JVM constructor with the given signature in the given JVM class.
fn get_method(
jvm_attachment: &JvmAttachment,
jvm_class: &JvmClass,
jvm_method_name: &str,
jvm_method_signature: &str
) -> Option<JvmMethod>
[src]
jvm_attachment: &JvmAttachment,
jvm_class: &JvmClass,
jvm_method_name: &str,
jvm_method_signature: &str
) -> Option<JvmMethod>
Tries to resolve the JVM method with the given name and signature in the given JVM class.
fn get_static_method(
jvm_attachment: &JvmAttachment,
jvm_class: &JvmClass,
jvm_method_name: &str,
jvm_method_signature: &str
) -> Option<JvmMethod>
[src]
jvm_attachment: &JvmAttachment,
jvm_class: &JvmClass,
jvm_method_name: &str,
jvm_method_signature: &str
) -> Option<JvmMethod>
Tries to resolve the static JVM method with the given name and signature in the given JVM class.