public static class SourceForBinaryQuery.Result2 extends Object implements SourceForBinaryQuery.Result
SourceForBinaryQuery.Result.| Modifier and Type | Method and Description |
|---|---|
void |
addChangeListener(ChangeListener l)
Add a listener to changes in the roots.
|
FileObject[] |
getRoots()
Get the source roots.
|
boolean |
preferSources()
This method is used by the java infrastructure to find out whether the
sources should be preferred over the binaries.
|
void |
removeChangeListener(ChangeListener l)
Remove a listener to changes in the roots.
|
public FileObject[] getRoots()
SourceForBinaryQuery.ResultgetRoots in interface SourceForBinaryQuery.Resultpublic void addChangeListener(ChangeListener l)
SourceForBinaryQuery.ResultaddChangeListener in interface SourceForBinaryQuery.Resultl - a listener to addpublic void removeChangeListener(ChangeListener l)
SourceForBinaryQuery.ResultremoveChangeListener in interface SourceForBinaryQuery.Resultl - a listener to removepublic boolean preferSources()
SourceForBinaryQueryImplementation2