Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Java.GetClassMethods
Queries the list of methods in this class.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Java | 15.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No |
MBS( "Java.GetClassMethods"; ClassName ) More
Parameters
Parameter | Description | Example |
---|---|---|
ClassName | The name of the java class. | "java.lang.Error" |
Result
Returns JSON or error.
Description
Queries the list of methods in this class.Examples
Queries list of methods:
Set Variable [ $methods; Value: MBS("Java.GetClassMethods"; "java.lang.Error") ]
Example result:
[
{
"index": 0,
"name": "<init>",
"signature": "(Ljava/lang/String;Ljava/lang/Throwable;ZZ)V",
"modifiers": 4,
"IsPublic": false,
"IsPrivate": false,
"IsProtected": true,
"IsStatic": false,
"IsFinal": false,
"IsSynchronized": false,
"IsBridge": false,
"IsVarArgs": false,
"IsNative": false,
"IsAbstract": false,
"IsStrict": false,
"IsSynthetic": false,
"argumentsSize": 5,
"native": false,
"obsolete": false
},
...
]
See also
Release notes
- Version 15.3
- Added Java.GetClassFields, Java.GetClassMethods and Java.GetLoadedClasses functions.
Blog Entries
This function checks for a license.
Created 31st May 2025, last changed 31st May 2025
