what
This commit is contained in:
@@ -68,9 +68,9 @@ public class CallSuperProcess extends AbstractProcessor{
|
|||||||
}
|
}
|
||||||
|
|
||||||
static class CodeAnalyzerTreeScanner extends TreePathScanner<Object, Trees>{
|
static class CodeAnalyzerTreeScanner extends TreePathScanner<Object, Trees>{
|
||||||
private String methodName;
|
String methodName;
|
||||||
private MethodTree method;
|
MethodTree method;
|
||||||
private boolean callSuperUsed;
|
boolean callSuperUsed;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Object visitClass(ClassTree classTree, Trees trees){
|
public Object visitClass(ClassTree classTree, Trees trees){
|
||||||
@@ -83,6 +83,9 @@ public class CallSuperProcess extends AbstractProcessor{
|
|||||||
|
|
||||||
if(extendTree instanceof JCIdent){
|
if(extendTree instanceof JCIdent){
|
||||||
JCIdent tree = (JCIdent)extendTree;
|
JCIdent tree = (JCIdent)extendTree;
|
||||||
|
|
||||||
|
if(tree == null || tree.sym == null) return super.visitClass(classTree, trees);
|
||||||
|
|
||||||
com.sun.tools.javac.code.Scope members = tree.sym.members();
|
com.sun.tools.javac.code.Scope members = tree.sym.members();
|
||||||
|
|
||||||
if(checkScope(members))
|
if(checkScope(members))
|
||||||
|
|||||||
@@ -718,7 +718,7 @@ public class HudFragment extends Fragment{
|
|||||||
Draw.color(Pal.darkerGray);
|
Draw.color(Pal.darkerGray);
|
||||||
Fill.poly(x + width/2f, y + height/2f, 6, height / Mathf.sqrt3);
|
Fill.poly(x + width/2f, y + height/2f, 6, height / Mathf.sqrt3);
|
||||||
Draw.reset();
|
Draw.reset();
|
||||||
Drawf.shadow(x + width/2f, y + height/2f, height * 1.1f);
|
Drawf.shadow(x + width/2f, y + height/2f, height * 1.13f);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
new Table(t -> {
|
new Table(t -> {
|
||||||
|
|||||||
Reference in New Issue
Block a user