if (typeMetadata.getAnnotatedType().getAnnotatedElement().isAssignableFrom(type)) {
for (MethodMetadata<?, ?> methodMetadata : typeMetadata.getProperties()) {
if (methodMetadata instanceof PrimitivePropertyMethodMetadata<?>) {
AnnotatedMethod method = methodMetadata.getAnnotatedMethod();
if (method instanceof SetPropertyMethod) {
addProxyMethod(new PrimitivePropertySetMethod((PrimitivePropertyMethodMetadata<?>) methodMetadata), method.getAnnotatedElement());
}
}
}
}
}