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 f4ad07e commit cc15842Copy full SHA for cc15842
src/net/sf/j2s/core/astvisitors/DependencyASTVisitor.java
@@ -785,7 +785,7 @@ public boolean visit(ClassInstanceCreation node) {
785
*/
786
public boolean visit(MethodInvocation node) {
787
IMethodBinding resolveMethodBinding = node.resolveMethodBinding();
788
- if (Modifier.isStatic(resolveMethodBinding.getModifiers())) {
+ if (resolveMethodBinding != null && Modifier.isStatic(resolveMethodBinding.getModifiers())) {
789
Expression expression = node.getExpression();
790
if (expression instanceof Name) {
791
Name name = (Name) expression;
0 commit comments