Deserialize annotations on property accessors

This commit is contained in:
Alexander Udalov
2013-07-11 18:29:03 +04:00
parent 453b0e8f10
commit 23378f0054
14 changed files with 189 additions and 5 deletions
@@ -206,7 +206,10 @@ public class AnnotationDescriptorDeserializer implements AnnotationDeserializer
switch (kind) {
case FUNCTION:
return JavaProtoBufUtil.loadMethodSignature(proto, nameResolver);
// TODO: getters, setters
case PROPERTY_GETTER:
return JavaProtoBufUtil.loadPropertyGetterSignature(proto, nameResolver);
case PROPERTY_SETTER:
return JavaProtoBufUtil.loadPropertySetterSignature(proto, nameResolver);
default:
return null;
}