public class ForEachCollectionTraversal extends IterableTraversal
myCollection, myIterable
Modifier and Type | Method and Description |
---|---|
static ForEachCollectionTraversal |
fromLoop(PsiForeachStatement loop) |
PsiParameter |
getParameter() |
boolean |
isRemoveCall(PsiExpression candidate) |
getIterable, isCollection
public PsiParameter getParameter()
public boolean isRemoveCall(PsiExpression candidate)
isRemoveCall
in class IterableTraversal
candidate
- element to checkpublic static ForEachCollectionTraversal fromLoop(PsiForeachStatement loop)