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.Result
getRoots
in interface SourceForBinaryQuery.Result
public void addChangeListener(ChangeListener l)
SourceForBinaryQuery.Result
addChangeListener
in interface SourceForBinaryQuery.Result
l
- a listener to addpublic void removeChangeListener(ChangeListener l)
SourceForBinaryQuery.Result
removeChangeListener
in interface SourceForBinaryQuery.Result
l
- a listener to removepublic boolean preferSources()
SourceForBinaryQueryImplementation2