APIdia Launch Partner
Top Methods
jdk.internal.access

public Interface JavaBeansAccess

Imports
java.lang.reflect.Constructor, .Method

Method Summary

Modifier and TypeMethod and Description
public String[]

Returns:

The value attribute of the @ConstructorProperties annotation or null if the constructor is not annotated by this annotation or the annotation is not accessible.
getConstructorPropertiesValue
(Constructor<?>
The constructor to extract the annotation value from
ctr
)

Return the value attribute of the associated @ConstructorProperties annotation if that is present.

public Method

Returns:

The resolved property getter method
getReadMethod
(Class<?>
The JavaBeans class
clazz
,
String
The property name
property
)

Returns the getter method for a property of the given name

Method Detail

getConstructorPropertiesValueback to summary
public String[] getConstructorPropertiesValue(Constructor<?> ctr)

Return the value attribute of the associated @ConstructorProperties annotation if that is present.

Parameters
ctr:Constructor<?>

The constructor to extract the annotation value from

Returns:String[]

The value attribute of the @ConstructorProperties annotation or null if the constructor is not annotated by this annotation or the annotation is not accessible.

getReadMethodback to summary
public Method getReadMethod(Class<?> clazz, String property) throws Exception

Returns the getter method for a property of the given name

Parameters
clazz:Class<?>

The JavaBeans class

property:String

The property name

Returns:Method

The resolved property getter method