Class PropertyOrFieldSupport
- java.lang.Object
-
- org.assertj.core.util.introspection.PropertyOrFieldSupport
-
public class PropertyOrFieldSupport extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static PropertyOrFieldSupport
COMPARISON
static PropertyOrFieldSupport
EXTRACTION
private FieldSupport
fieldSupport
private PropertySupport
propertySupport
private static String
SEPARATOR
-
Constructor Summary
Constructors Constructor Description PropertyOrFieldSupport()
PropertyOrFieldSupport(PropertySupport propertySupport, FieldSupport fieldSupport)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getSimpleValue(String name, Object input)
Object
getValueOf(String propertyOrFieldName, Object input)
private boolean
isNested(String propertyOrFieldName)
private String
nextNameFrom(String propertyOrFieldNameChain)
private String
popNameFrom(String propertyOrFieldNameChain)
void
setAllowUsingPrivateFields(boolean allowUsingPrivateFields)
-
-
-
Field Detail
-
SEPARATOR
private static final String SEPARATOR
- See Also:
- Constant Field Values
-
propertySupport
private PropertySupport propertySupport
-
fieldSupport
private FieldSupport fieldSupport
-
EXTRACTION
public static final PropertyOrFieldSupport EXTRACTION
-
COMPARISON
public static final PropertyOrFieldSupport COMPARISON
-
-
Constructor Detail
-
PropertyOrFieldSupport
PropertyOrFieldSupport()
-
PropertyOrFieldSupport
PropertyOrFieldSupport(PropertySupport propertySupport, FieldSupport fieldSupport)
-
-
Method Detail
-
setAllowUsingPrivateFields
public void setAllowUsingPrivateFields(boolean allowUsingPrivateFields)
-
isNested
private boolean isNested(String propertyOrFieldName)
-
-