if (thisNode == null) {
return methods;
}
SNode contextBehaviour = SNodeOperations.getAncestor(context, "jetbrains.mps.lang.behavior.structure.ConceptBehavior", true, false);
for (SNode concept : SConceptOperations.getConceptHierarchy(thisNode)) {
<BUG>SNode behaviour = AbstractConceptDeclaration_Behavior.call_findBehaviour_1213877394029(concept, scope);
if (behaviour != null) {</BUG>
for (SNode method : SLinkOperations.getTargets(behaviour, "method", true)) {
if (SLinkOperations.getTarget(method, "overriddenMethod", false) != null) {
continue;

if (thisNode == null) {
return methods;
}
SNode contextBehaviour = SNodeOperations.getAncestor(context, "jetbrains.mps.lang.behavior.structure.ConceptBehavior", true, false);
for (SNode concept : SConceptOperations.getConceptHierarchy(thisNode)) {
SNode behaviour = AbstractConceptDeclaration_Behavior.call_findBehavior_1213877394029(concept, scope);
if (behaviour != null) {
for (SNode method : SLinkOperations.getTargets(behaviour, "method", true)) {
if (SLinkOperations.getTarget(method, "overriddenMethod", false) != null) {
continue;
