示例#1
0
 {
   primitiveTypes = new HashSet<FqNameUnsafe>(0);
   primitiveArrays = new HashSet<FqNameUnsafe>(0);
   for (PrimitiveType primitiveType : PrimitiveType.values()) {
     primitiveTypes.add(fqNameUnsafe(primitiveType.getTypeName().asString()));
     primitiveArrays.add(fqNameUnsafe(primitiveType.getArrayTypeName().asString()));
   }
 }
示例#2
0
 @NotNull
 private static Set<FqNameUnsafe> computeIndexedFqNames(@NotNull String prefix, int count) {
   Set<FqNameUnsafe> result = new HashSet<FqNameUnsafe>();
   for (int i = 0; i < count; i++) {
     result.add(fqNameUnsafe(prefix + i));
   }
   return result;
 }