|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.reflect.Modifier
org.jboss.portal.common.reflect.Modifier
public class Modifier
Extends the java Modifier object in order to add more utility methods.
Field Summary |
---|
Fields inherited from class java.lang.reflect.Modifier |
---|
ABSTRACT, FINAL, INTERFACE, NATIVE, PRIVATE, PROTECTED, PUBLIC, STATIC, STRICT, SYNCHRONIZED, TRANSIENT, VOLATILE |
Constructor Summary | |
---|---|
Modifier()
|
Method Summary | |
---|---|
static boolean |
isReadableProperty(java.lang.reflect.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(java.lang.reflect.Field f)
Return true if the field is considered as a writable property which means that it is public, non static and non final. |
Methods inherited from class java.lang.reflect.Modifier |
---|
isAbstract, isFinal, isInterface, isNative, isPrivate, isProtected, isPublic, isStatic, isStrict, isSynchronized, isTransient, isVolatile, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Modifier()
Method Detail |
---|
public static boolean isReadableProperty(java.lang.reflect.Field f) throws java.lang.IllegalArgumentException
f
- the field to test
java.lang.IllegalArgumentException
- if the field argument is nullpublic static boolean isWritableProperty(java.lang.reflect.Field f)
f
- the field to test
java.lang.IllegalArgumentException
- if the field argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |