code: public static boolean isCompatibleInALooseInvocationContext(TypeSolver typeSolver, Expression expression, ResolvedType t) {
          //throw new UnsupportedOperationException("Unable to determine if " + expression + " is compatible in a loose invocation context with type " + t);
          return isCompatibleInALooseInvocationContext(JavaParserFacade.get(typeSolver).getType(expression), t);
      }
docs: see https://docs.oracle.com/javase/specs/jls/se8/html/jls-5.html#jls-5.3
  @param expression
  @param t
  @return