Protected / final are deprecated in interfaces: scopes and call translator
This commit is contained in:
committed by
Mikhail Glukhikh
parent
49a420e3f9
commit
67755d7dca
+2
-2
@@ -66,8 +66,8 @@ public class HierarchySearchRequest<T: PsiElement> (
|
||||
}
|
||||
|
||||
interface HierarchyTraverser<T> {
|
||||
protected fun nextElements(current: T): Iterable<T>
|
||||
protected fun shouldDescend(element: T): Boolean
|
||||
fun nextElements(current: T): Iterable<T>
|
||||
fun shouldDescend(element: T): Boolean
|
||||
|
||||
fun forEach(initialElement: T, body: (T) -> Unit) {
|
||||
val stack = Stack<T>()
|
||||
|
||||
Reference in New Issue
Block a user