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 PropertyOrFieldSupportCOMPARISONstatic PropertyOrFieldSupportEXTRACTIONprivate FieldSupportfieldSupportprivate PropertySupportpropertySupportprivate static StringSEPARATOR
-
Constructor Summary
Constructors Constructor Description PropertyOrFieldSupport()PropertyOrFieldSupport(PropertySupport propertySupport, FieldSupport fieldSupport)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetSimpleValue(String propertyOrFieldName, Object input)ObjectgetValueOf(String propertyOrFieldName, Object input)private booleanisNested(String propertyOrFieldName)private StringnextNameFrom(String propertyOrFieldNameChain)private StringpopNameFrom(String propertyOrFieldNameChain)voidsetAllowUsingPrivateFields(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)
-
-