public static class PsiElementProcessor.CollectElements<T extends PsiElement> extends java.lang.Object implements PsiElementProcessor<T>
PsiElementProcessor.CollectElements<T extends PsiElement>, PsiElementProcessor.CollectElementsWithLimit<T extends PsiElement>, PsiElementProcessor.CollectFilteredElements<T extends PsiElement>, PsiElementProcessor.FindElement<T extends PsiElement>, PsiElementProcessor.FindFilteredElement<T extends PsiElement>
Constructor and Description |
---|
CollectElements() |
CollectElements(java.util.Collection<T> collection) |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(T element)
Processes a PsiElement
|
java.util.Collection<T> |
getCollection() |
PsiElement [] |
toArray() |
T [] |
toArray(T[] array) |
public CollectElements()
public CollectElements(java.util.Collection<T> collection)
public PsiElement [] toArray()
public java.util.Collection<T> getCollection()
public boolean execute(T element)
PsiElementProcessor
execute
in interface PsiElementProcessor<T extends PsiElement>
element
- currently processed element.