Class<?> objectType = object.getClass();
// Determine the property type from the getter method
Method getterMethod = getStaticGetterMethod(propertyClass, propertyName, objectType);
if (getterMethod == null) {
throw new PropertyNotFoundException("Static property \"" + attribute
+ "\" does not exist.");
}
// Resolve the attribute value
Class<?> propertyType = getterMethod.getReturnType();