List of usage examples for org.eclipse.jdt.internal.compiler.ast NullAnnotationMatching isAnyMismatch
public boolean isAnyMismatch()
From source file:org.eclipse.objectteams.otdt.internal.core.compiler.ast.LiftingTypeReference.java
License:Open Source License
public void updateBindingAndCheckNullness(BlockScope scope) { this.baseReference.resolvedType = this.resolvedType; TypeBinding roleType = this.roleReference.resolvedType; if (roleType != null && roleType.isValidBinding() && scope.compilerOptions().isAnnotationBasedNullAnalysisEnabled) { NullAnnotationMatching status = NullAnnotationMatching.analyse(roleType, this.resolvedType, -1); if (status.isAnyMismatch()) { scope.problemReporter().nullityMismatchingTypeAnnotation(this.fakedArgument.initialization, this.resolvedType, roleType, status); }// w w w . j a v a 2s . c o m } }