{ 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())); } }
@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; }