We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1af88fc commit e12b98eCopy full SHA for e12b98e
sources/net.sf.j2s.core/src/net/sf/j2s/core/astvisitors/DependencyASTVisitor.java
@@ -749,7 +749,7 @@ public boolean visit(ArrayCreation node) {
749
*/
750
public boolean visit(MethodInvocation node) {
751
IMethodBinding resolveMethodBinding = node.resolveMethodBinding();
752
- if (Modifier.isStatic(resolveMethodBinding.getModifiers())) {
+ if (resolveMethodBinding != null && Modifier.isStatic(resolveMethodBinding.getModifiers())) {
753
Expression expression = node.getExpression();
754
if (expression instanceof Name) {
755
Name name = (Name) expression;
0 commit comments