public class Modifier extends Modifier
| Constructor and Description |
|---|
Modifier() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isReadableProperty(Field f)
Return true if the field is considered as a readable property which means that it is public and non static.
|
static boolean |
isWritableProperty(Field f)
Return true if the field is considered as a writable property which means that it is public, non static and non
final.
|
classModifiers, constructorModifiers, fieldModifiers, interfaceModifiers, isAbstract, isFinal, isInterface, isNative, isPrivate, isProtected, isPublic, isStatic, isStrict, isSynchronized, isTransient, isVolatile, methodModifiers, toStringpublic static boolean isReadableProperty(Field f) throws IllegalArgumentException
f - the field to testIllegalArgumentException - if the field argument is nullpublic static boolean isWritableProperty(Field f)
f - the field to testIllegalArgumentException - if the field argument is nullCopyright © 2025 JBoss by Red Hat. All Rights Reserved.