public class ConstructorAccess extends AccessStrategy
| Constructor and Description |
|---|
ConstructorAccess(Constructor<?> constructor) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Object |
get(Object instance)
Get the value from the given instance.
|
ElementType |
getElementType()
Get the Java program
ElementType used by this AccessStrategy
to determine property values. |
Type |
getJavaType()
Get the type of the property
|
String |
getPropertyName()
Get a name representative of this property.
|
int |
hashCode() |
String |
toString() |
public ConstructorAccess(Constructor<?> constructor)
public Object get(Object instance)
AccessStrategyget in class AccessStrategypublic ElementType getElementType()
AccessStrategyElementType used by this AccessStrategy
to determine property values.getElementType in class AccessStrategypublic Type getJavaType()
AccessStrategygetJavaType in class AccessStrategypublic String getPropertyName()
getPropertyName in class AccessStrategyCopyright © 2010–2022 The Apache Software Foundation. All rights reserved.