Class FieldExaminer
java.lang.Object
ch.nolix.base.reflection.reflectionexaminer.FieldExaminer
- All Implemented Interfaces:
IFieldExaminer
A
FieldExaminer is not mutable.- Author:
- Silvan Wyss
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanStoreValueOfTypeOrSuperType(Field field, Class<?> type) boolean
-
Constructor Details
-
FieldExaminer
public FieldExaminer()
-
-
Method Details
-
canStoreValueOfTypeOrSuperType
- Specified by:
canStoreValueOfTypeOrSuperTypein interfaceIFieldExaminer- Parameters:
field-type-- Returns:
- true if the given field can store a value of the given type or super type, false otherwise.
-
isStatic
- Specified by:
isStaticin interfaceIFieldExaminer- Parameters:
field-- Returns:
- true if the given field is static, false otherwise.
-