javaparser-symbol-solver-testing/src/test/resources/issue1526/errors/a/b/c/ExampleClass.java
raw| 1 | package a.b.c; |
| 2 | |
| 3 | //import d.e.f.DataObjectFactory; // Resolving imports takes precedence over within-the-same-package (commenting this line causes a compilation error!). |
| 4 | |
| 5 | public class ExampleClass { |
| 6 | |
| 7 | protected final DataObjectFactory doFactory; |
| 8 | |
| 9 | |
| 10 | public ExampleClass() { |
| 11 | doFactory = null; |
| 12 | } |
| 13 | |
| 14 | |
| 15 | public DataObject getDataObject(String objectID) { |
| 16 | return doFactory.getDataObject(objectID); |
| 17 | } |
| 18 | |
| 19 | } |