Beispiel #1
0
 @NotNull
 public Type typeToType(PsiType type, boolean notNull) {
   Type result = typeToType(type);
   if (notNull) {
     result.convertedToNotNull();
   }
   return result;
 }
Beispiel #2
0
 @NotNull
 private List<Type> typesToNotNullableTypeList(@NotNull PsiType[] types) {
   List<Type> result = new LinkedList<Type>(typesToTypeList(types));
   for (Type p : result) p.convertedToNotNull();
   return result;
 }