Modifier and Type | Method and Description |
---|---|
static <V> FieldProperty<V> |
createProperty(Field field)
Create a JavaBean style property from the field
|
static <V> Property<V> |
createProperty(Member member)
Create a JavaBean style property from the specified member
|
static <V> MethodProperty<V> |
createProperty(Method method)
Create a JavaBean style property from the specified method
|
static <V> boolean |
isProperty(Method method)
Indicates whether this method is a valid property method.
|
public static <V> FieldProperty<V> createProperty(Field field)
V
- field
- public static <V> MethodProperty<V> createProperty(Method method)
V
- method
- IllegalArgumentException
- if the method does not match JavaBean conventionshttp://www.oracle.com/technetwork/java/javase/documentation/spec-136004.html
public static <V> Property<V> createProperty(Member member)
V
- member
- IllegalArgumentException
- if the method does not match JavaBean conventionshttp://www.oracle.com/technetwork/java/javase/documentation/spec-136004.html
public static <V> boolean isProperty(Method method)
Copyright © 2017 JBoss by Red Hat. All rights reserved.