Lines 166-172
Link Here
|
166 |
|
166 |
|
167 |
final ArrayList typesFound= new ArrayList(fSizeHint); |
167 |
final ArrayList typesFound= new ArrayList(fSizeHint); |
168 |
|
168 |
|
169 |
class RequestorAbort extends Error { } |
169 |
class RequestorAbort extends RuntimeException { } |
170 |
|
170 |
|
171 |
ITypeNameRequestor requestor= new TypeInfoRequestor(typesFound) { |
171 |
ITypeNameRequestor requestor= new TypeInfoRequestor(typesFound) { |
172 |
protected boolean inScope(char[] packageName) { |
172 |
protected boolean inScope(char[] packageName) { |
Lines 464-470
Link Here
|
464 |
* Checks if the search index is up to date. |
464 |
* Checks if the search index is up to date. |
465 |
*/ |
465 |
*/ |
466 |
public static boolean isIndexUpToDate() { |
466 |
public static boolean isIndexUpToDate() { |
467 |
class TypeFoundException extends Error { |
467 |
class TypeFoundException extends RuntimeException { |
468 |
} |
468 |
} |
469 |
ITypeNameRequestor requestor= new ITypeNameRequestor() { |
469 |
ITypeNameRequestor requestor= new ITypeNameRequestor() { |
470 |
public void acceptClass(char[] packageName, char[] simpleTypeName, char[][] enclosingTypeNames, String path) { |
470 |
public void acceptClass(char[] packageName, char[] simpleTypeName, char[][] enclosingTypeNames, String path) { |