public final class ScopeUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
lookFor(Scope currentScope,
Class<? extends Scope> expectedParent)
Check if one of a parent scopes inherits from the given type
|
public static boolean lookFor(Scope currentScope, Class<? extends Scope> expectedParent)
currentScope - the current scopeexpectedParent - the type of parent scope to look forCopyright © 2020. All rights reserved.