Esempio n. 1
0
 protected void setAnnotation(String annoName, IValueList annoList) {
   IList annos = (IList) annoList.asList();
   if (this.ownValue == null) {
     return;
   }
   if (annoList != null
       && this.ownValue.getType().declaresAnnotation(this.typeStore, annoName)
       && !annos.isEmpty()) {
     this.ownValue = ((IConstructor) this.ownValue).asAnnotatable().setAnnotation(annoName, annos);
   }
 }