Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

JCI_GetMethodID

This function returns the method ID (Java handle) for an instance method of a class or interface.
It is equivalent to the JNI function GetMethodID.


Call

CALL 'JCI_GetMethodID' USING cObj mName mSig mID

cObj

Class object

mName

Name of the method

mSig

Signature of the method

mID

Method ID returned by the function


Arguments

See function JCI_GetStaticMethodID.


Return value (RETURN-CODE)

See function JCI_GetStaticMethodID.


Exceptions

The exceptions generated by the function correspond to those of the JNI function GetMethodID.


Notes

The method can be defined in an upper class of the class referenced by cObj and be inherited by the latter.

The method is identified by the name and the signature. The signature can be received by the statement,

javap -s <class-name>

the <class-name> being the name of the class identified by cObj.