Interface AttributeDescriptorModelHelperService
- All Known Implementing Classes:
DefaultAttributeDescriptorModelHelperService
public interface AttributeDescriptorModelHelperService
Helper service to hold convenience methods related to handling
AttributeDescriptorModel-
Method Summary
Modifier and TypeMethodDescriptionClass<?>getAttributeClass(AttributeDescriptorModel attributeDescriptor) Will return: the actual class of the property if this is not aParameterizedTypethe class of the generic type of the class of the property if this is aParameterizedTypeClass<?>getDeclaringEnclosingTypeClass(AttributeDescriptorModel attributeDescriptor) Will return the actual class of the declaring enclosing type of this property
-
Method Details
-
getAttributeClass
Will return:- the actual class of the property if this is not a
ParameterizedType - the class of the generic type of the class of the property if this is a
ParameterizedType
- Parameters:
attributeDescriptor- theAttributeDescriptorModelto inspect- Returns:
- a Class
- the actual class of the property if this is not a
-
getDeclaringEnclosingTypeClass
Will return the actual class of the declaring enclosing type of this property- Parameters:
attributeDescriptor- theAttributeDescriptorModelto inspect- Returns:
- a Class
-