Exemplo n.º 1
0
/* 188:    */   
/* 189:    */   static void enumArrayValue(String name, DotName typeName, List<Enum> valueList, List<AnnotationValue> list)
/* 190:    */   {
/* 191:219 */     if (isNotEmpty(valueList))
/* 192:    */     {
/* 193:221 */       List<AnnotationValue> enumValueList = new ArrayList(valueList.size());
/* 194:222 */       for (Enum e : valueList) {
/* 195:223 */         addToCollectionIfNotNull(enumValueList, enumValue("", typeName, e));
/* 196:    */       }
/* 197:225 */       list.add(AnnotationValue.createArrayValue(name, toArray(enumValueList)));
/* 198:    */     }
/* 199:    */   }
Exemplo n.º 2
0
/* 127:    */   
/* 128:    */   static void classArrayValue(String name, List<String> classNameList, List<AnnotationValue> list, ServiceRegistry serviceRegistry)
/* 129:    */   {
/* 130:158 */     if (isNotEmpty(classNameList))
/* 131:    */     {
/* 132:160 */       List<AnnotationValue> clazzValueList = new ArrayList(classNameList.size());
/* 133:161 */       for (String clazz : classNameList) {
/* 134:162 */         addToCollectionIfNotNull(clazzValueList, classValue("", clazz, serviceRegistry));
/* 135:    */       }
/* 136:165 */       list.add(AnnotationValue.createArrayValue(name, toArray(clazzValueList)));
/* 137:    */     }
/* 138:    */   }
Exemplo n.º 3
0
/*  99:    */   
/* 100:    */   static void classValue(String name, String className, List<AnnotationValue> list, ServiceRegistry serviceRegistry)
/* 101:    */   {
/* 102:131 */     addToCollectionIfNotNull(list, classValue(name, className, serviceRegistry));
/* 103:    */   }
Exemplo n.º 4
0
/*  78:    */   
/*  79:    */   static void booleanValue(String name, Boolean value, List<AnnotationValue> annotationValueList)
/*  80:    */   {
/*  81:112 */     addToCollectionIfNotNull(annotationValueList, booleanValue(name, value));
/*  82:    */   }
Exemplo n.º 5
0
/*  68:    */   
/*  69:    */   static void integerValue(String name, Integer value, List<AnnotationValue> annotationValueList)
/*  70:    */   {
/*  71:104 */     addToCollectionIfNotNull(annotationValueList, integerValue(name, value));
/*  72:    */   }
Exemplo n.º 6
0
/*  55:    */   
/*  56:    */   static void stringValue(String name, String value, List<AnnotationValue> annotationValueList)
/*  57:    */   {
/*  58: 93 */     addToCollectionIfNotNull(annotationValueList, stringValue(name, value));
/*  59:    */   }
Exemplo n.º 7
0
/* 200:    */   
/* 201:    */   static void enumValue(String name, DotName typeName, Enum value, List<AnnotationValue> list)
/* 202:    */   {
/* 203:234 */     addToCollectionIfNotNull(list, enumValue(name, typeName, value));
/* 204:    */   }
Exemplo n.º 8
0
/* 117:    */   
/* 118:    */   static void nestedAnnotationValue(String name, AnnotationInstance value, List<AnnotationValue> list)
/* 119:    */   {
/* 120:148 */     addToCollectionIfNotNull(list, nestedAnnotationValue(name, value));
/* 121:    */   }