From 53b2190a4107a7daabeb2c9bc478583c439d85d9 Mon Sep 17 00:00:00 2001 From: Alexey Kudravtsev Date: Fri, 31 May 2013 15:12:09 +0400 Subject: [PATCH] javadoc --- .../usageView/src/com/intellij/usages/UsageSearcher.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/platform/usageView/src/com/intellij/usages/UsageSearcher.java b/platform/usageView/src/com/intellij/usages/UsageSearcher.java index 16262ca523e9..923fc850f99c 100644 --- a/platform/usageView/src/com/intellij/usages/UsageSearcher.java +++ b/platform/usageView/src/com/intellij/usages/UsageSearcher.java @@ -16,9 +16,14 @@ package com.intellij.usages; import com.intellij.util.Generator; +import com.intellij.util.Processor; +import org.jetbrains.annotations.NotNull; /** * @author max */ -public interface UsageSearcher extends Generator{ +public interface UsageSearcher extends Generator { + // hands all found usages to the processor + // not guaranteed to be in read action, not guaranteed in the same thread + void generate(@NotNull Processor processor); }