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);
    }
public static boolean isCompatibleInALooseInvocationContext(TypeSolver typeSolver, Expression expression, ResolvedType t) {
        
        return isCompatibleInALooseInvocationContext(JavaParserFacade.get(typeSolver).getType(expression), t);
    }
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 ) ; }
see https://docs.oracle.com/javase/specs/jls/se8/html/jls-5.html#jls-5.3
@param expression
@param t
@return
see https : // docs . oracle . com / javase / specs / jls / se8 / html / jls - 5 . html#jls - 5 . 3