Class ClassSearchResult
java.lang.Object
uno.anahata.ai.nb.model.java.ClassSearchResult
A simple data object to hold the result of a class file search,
containing the FileObject of the class and the ClassPath it belongs to.
This is used to bridge between finding a .class file and then finding its
corresponding .java source file or Javadoc.
- Author:
- Anahata
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionClassSearchResult(org.openide.filesystems.FileObject classFile, org.netbeans.api.java.classpath.ClassPath ownerCp) Constructs a new ClassSearchResult. -
Method Summary
-
Field Details
-
classFile
public final org.openide.filesystems.FileObject classFileThe FileObject representing the found class file. -
ownerCp
public final org.netbeans.api.java.classpath.ClassPath ownerCpThe ClassPath that owns the found class file.
-
-
Constructor Details
-
ClassSearchResult
public ClassSearchResult(org.openide.filesystems.FileObject classFile, org.netbeans.api.java.classpath.ClassPath ownerCp) Constructs a new ClassSearchResult.- Parameters:
classFile- the class file found.ownerCp- the classpath owning the class file.
-
