📄 methodscope.java
字号:
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html*/package net.sourceforge.pmd.symboltable;import net.sourceforge.pmd.util.Applier;public class MethodScope extends AbstractScope { public NameDeclaration findVariableHere(NameOccurrence occurrence) { if (occurrence.isThisOrSuper()) { return null; } ImageFinderFunction finder = new ImageFinderFunction(occurrence.getImage()); Applier.apply(finder, variableNames.keySet().iterator()); return finder.getDecl(); } public String toString() { return "MethodScope:" + super.glomNames(); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -