code: public <T extends Annotation> T getAnnotation(Class<T> type){
          T ann = null;
          if(setter != null){
              ann = setter.getAnnotation(type);
          }
          if(ann == null && getter != null){
              ann = getter.getAnnotation(type);
          }
          if(ann == null && field != null){
              ann = field.getAnnotation(type);
          }
          return ann;
      }
docs: {@inheritDoc}