Home
IDEs Support (IntelliJ Platform) | JetBrains
Contact Support
Community
Sign in

Bbt2012inbox Ru

Avatar
  • Total activity 6
  • Last activity May 17, 2023 13:02
  • Member since May 17, 2023 09:25
  • Following 0 users
  • Followed by 0 users
  • Votes 1
  • Subscriptions 1
Activity overview Posts (1) Comments (3)
Sort by recent activity Recent activity Votes
  • Edited May 17, 2023 13:02
    Alright, so it seems like the only way to get it is to traverse trough the parents and find first PsiMethod instance which should be the required method. Okay, thanks, I think this helped
    1. Community
    2. IntelliJ IDEA Open API and Plugin Development
    3. Get method in which PsiMethodCallExpression is used
    • 0 votes
  • Edited May 17, 2023 12:00
    I saw the plugin and also checked documentation related to PSI, however wasn't able to get scope in which method was called from PsiCallExpression. Regarding the line of code suggested in the initi...
    1. Community
    2. IntelliJ IDEA Open API and Plugin Development
    3. Get method in which PsiMethodCallExpression is used
    • 0 votes
  • Created May 17, 2023 11:31
    Sure. By "In which method is called" I mostly mean next scenario public void foo() { bar();} In this example I need to know that bar method was called inside the foo method. Regarding the getUse...
    1. Community
    2. IntelliJ IDEA Open API and Plugin Development
    3. Get method in which PsiMethodCallExpression is used
    • 0 votes
Copyright © 2000– JetBrains s.r.o.