How does the debug 'Detail Formatters' resolve classes in eclipse?
问题 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