Retrieves a combination of the ACC_XXX flags for a class as they appear in the Java class file.
int __cdecl Class_GetAttributes(ClassClass *cls);
Returns attributes flags.
*cls | The address of the class object. |
The following attributes are defined for use in a Java class file and can be retrieved using this function as shown in the following table.
Flag | Value |
ACC_PUBLIC | 0x0001 |
ACC_PRIVATE | 0x0002 |
ACC_PROTECTED | 0x0004 |
ACC_STATIC | 0x0008 |
ACC_FINAL | 0x0010 |
ACC_SYNCH | 0x0020 |
ACC_SUPER | 0x0020 |
ACC_THREADSAFE | 0x0040 |
ACC_VOLATILE | 0x0040 |
ACC_TRANSIENT | 0x0080 |
ACC_NATIVE | 0x0100 |
ACC_INTERFACE | 0x0200 |
ACC_ABSTRACT | 0x0400 |