LOTUSSCRIPT LANGUAGE


Modifier property
Example

This returns the modifier value(s) for a Java property. The property is read only.

Defined in

JavaProperty

Data type

Long

Syntax

To get: Long = javaproperty.Modifier

Usage

The Modifier property returns a combination of bits for the modifier(s) of the Java property (as specified by javaproperty) as follows:
ModifierBit
public1
static8
final16
volatile64
transient128
For example, if a property is declared in Java as "public static final" the value of Modifier would be 25: the value of 1 for public added to the value of 8 for static added to the value of 16 for final.

Note The keywords private and protected are not available (private and protected properties are not available with LS2J).

Example
See Also