1 comment
Comment actions Permalink

something like this:


PsiFile psiFile = PsiDocumentManager.getInstance(editor.getProject()).getPsiFile(editor.getDocument());
PsiClass psiClass = ((PsiJavaFile) psiFile).getClasses()[0];


regards,
Markus

0

Please sign in to leave a comment.