looks for parent call of certain function concode_field_sep FQNamesProvider myNameToSearch concode_elem_sep PsiCacheKey<Pair<String,String>,PyElement> QUALIFIED_AND_CLASS_NAME concode_field_sep boolean isName concode_elem_sep boolean value concode_elem_sep boolean isElementWithName concode_elem_sep Pair<String,String> fun
PyCallExpression function ( @ NotNull final PsiElement arg0 , @ NotNull final FQNamesProvider arg1 ) { final PsiElement loc0 = PsiTreeUtil . findFirstParent ( arg0 , new MyFunctionCondition ( arg1 ) ) ; if ( loc0 instanceof PyCallExpression ) { return ( PyCallExpression ) loc0 ; } return null ; }