In eclipse you can set custom "Detail Formatters" under Preferences -> Java -> Debug -> Detail Formatters to print objects in custom ways when debugging. I'd like to use a utility class to print an object using a formatter like:
return com.foo.Bar.xzyToString(this);
where xzyToString is a static method of Bar returning a String, but eclipse complains that it
'could not resolve type: com.foo.Bar.xzyToString'. Adding 'Bar' to the project build path doesn't allow the class to be found. How/where do I update the path eclipse uses to resolve names in Detail Formatters?