Search in sources :

Example 1 with Nullable

use of org.eclipse.jdt.annotation.Nullable in project applause by applause.

the class ApplauseEclipseResourceFileSystemAccess2 method getTraceFile.

/**
	 * @since 2.3
	 */
@Nullable
protected IFile getTraceFile(IFile file) {
    IStorage traceFile = fileBasedTraceInformation.getTraceFile(file);
    if (traceFile instanceof IFile) {
        IFile result = (IFile) traceFile;
        syncIfNecessary(result);
        return result;
    }
    return null;
}
Also used : IFile(org.eclipse.core.resources.IFile) IStorage(org.eclipse.core.resources.IStorage) Nullable(org.eclipse.jdt.annotation.Nullable)

Aggregations

IFile (org.eclipse.core.resources.IFile)1 IStorage (org.eclipse.core.resources.IStorage)1 Nullable (org.eclipse.jdt.annotation.Nullable)1