public boolean checkNPE(BlockScope scope, FlowContext flowContext, FlowInfo flowInfo, int ttlForFieldCheck) { if (!super.checkNPE(scope, flowContext, flowInfo, ttlForFieldCheck)) { CompilerOptions compilerOptions = scope.compilerOptions(); if (compilerOptions.isAnnotationBasedNullAnalysisEnabled) { if (this.binding instanceof FieldBinding) { return checkNullableFieldDereference(scope, (FieldBinding) this.binding, ((long)this.sourceStart<<32)+this.sourceEnd, flowContext, ttlForFieldCheck); } } } return false; }
public boolean checkNPE(BlockScope scope, FlowContext flowContext, FlowInfo flowInfo, int ttlForFieldCheck) { if (!super.checkNPE(scope, flowContext, flowInfo, ttlForFieldCheck)) { CompilerOptions compilerOptions = scope.compilerOptions(); if (compilerOptions.isAnnotationBasedNullAnalysisEnabled) { if (this.binding instanceof FieldBinding) { return checkNullableFieldDereference(scope, (FieldBinding) this.binding, ((long)this.sourceStart<<32)+this.sourceEnd, flowContext, ttlForFieldCheck); } } } return false; }
@Override public boolean checkNPE(BlockScope scope, FlowContext flowContext, FlowInfo flowInfo, int ttlForFieldCheck) { if (!super.checkNPE(scope, flowContext, flowInfo, ttlForFieldCheck)) { CompilerOptions compilerOptions = scope.compilerOptions(); if (compilerOptions.isAnnotationBasedNullAnalysisEnabled) { if (this.binding instanceof FieldBinding) { return checkNullableFieldDereference(scope, (FieldBinding) this.binding, ((long)this.sourceStart<<32)+this.sourceEnd, flowContext, ttlForFieldCheck); } } } return false; }
public boolean checkNPE(BlockScope scope, FlowContext flowContext, FlowInfo flowInfo, int ttlForFieldCheck) { if (!super.checkNPE(scope, flowContext, flowInfo, ttlForFieldCheck)) { CompilerOptions compilerOptions = scope.compilerOptions(); if (compilerOptions.isAnnotationBasedNullAnalysisEnabled) { if (this.binding instanceof FieldBinding) { return checkNullableFieldDereference(scope, (FieldBinding) this.binding, ((long)this.sourceStart<<32)+this.sourceEnd, flowContext, ttlForFieldCheck); } } } return false; }
public boolean checkNPE(BlockScope scope, FlowContext flowContext, FlowInfo flowInfo, int ttlForFieldCheck) { if (!super.checkNPE(scope, flowContext, flowInfo, ttlForFieldCheck)) { CompilerOptions compilerOptions = scope.compilerOptions(); if (compilerOptions.isAnnotationBasedNullAnalysisEnabled) { if (this.binding instanceof FieldBinding) { return checkNullableFieldDereference(scope, (FieldBinding) this.binding, ((long)this.sourceStart<<32)+this.sourceEnd, flowContext, ttlForFieldCheck); } } } return false; }
public boolean checkNPE(BlockScope scope, FlowContext flowContext, FlowInfo flowInfo) { if (!super.checkNPE(scope, flowContext, flowInfo)) { CompilerOptions compilerOptions = scope.compilerOptions(); if (compilerOptions.isAnnotationBasedNullAnalysisEnabled) { VariableBinding var = nullAnnotatedVariableBinding(compilerOptions.sourceLevel >= ClassFileConstants.JDK1_8); if (var instanceof FieldBinding) { checkNullableFieldDereference(scope, (FieldBinding) var, ((long)this.sourceStart<<32)+this.sourceEnd); return true; } } } return false; }
public boolean checkNPE(BlockScope scope, FlowContext flowContext, FlowInfo flowInfo) { if (!super.checkNPE(scope, flowContext, flowInfo)) { CompilerOptions compilerOptions = scope.compilerOptions(); if (compilerOptions.isAnnotationBasedNullAnalysisEnabled) { VariableBinding var = nullAnnotatedVariableBinding(compilerOptions.sourceLevel >= ClassFileConstants.JDK1_8); if (var instanceof FieldBinding) { checkNullableFieldDereference(scope, (FieldBinding) var, ((long)this.sourceStart<<32)+this.sourceEnd); return true; } } } return false; }
public boolean checkNPE(BlockScope scope, FlowContext flowContext, FlowInfo flowInfo) { if (!super.checkNPE(scope, flowContext, flowInfo)) { CompilerOptions compilerOptions = scope.compilerOptions(); if (compilerOptions.isAnnotationBasedNullAnalysisEnabled) { VariableBinding var = nullAnnotatedVariableBinding(compilerOptions.sourceLevel >= ClassFileConstants.JDK1_8); if (var instanceof FieldBinding) { checkNullableFieldDereference(scope, (FieldBinding) var, ((long)this.sourceStart<<32)+this.sourceEnd); return true; } } } return false; }