Package org.eclipse.jdt.internal.compiler.lookup

Examples of org.eclipse.jdt.internal.compiler.lookup.ImplicitNullAnnotationVerifier$InheritedNonNullnessInfo


    }
    TypeBinding result=resolveTypeForQualifiedAllocationExpression(scope);
    if(result != null && this.binding != null) {
      final CompilerOptions compilerOptions = scope.compilerOptions();
      if (compilerOptions.isAnnotationBasedNullAnalysisEnabled && (this.binding.tagBits & TagBits.IsNullnessKnown) == 0) {
        new ImplicitNullAnnotationVerifier(scope.environment(), compilerOptions.inheritNullAnnotations)
            .checkImplicitNullAnnotations(this.binding, null/*srcMethod*/, false, scope);
      }
    }
    return result;
  }
View Full Code Here


  }

  if (compilerOptions.isAnnotationBasedNullAnalysisEnabled) {
    if ((this.binding.tagBits & TagBits.IsNullnessKnown) == 0) {
      // not interested in reporting problems against this.binding:
      new ImplicitNullAnnotationVerifier(scope.environment(), compilerOptions.inheritNullAnnotations)
          .checkImplicitNullAnnotations(this.binding, null/*srcMethod*/, false, scope);
    }
    if (compilerOptions.sourceLevel >= ClassFileConstants.JDK1_8) {
      if (this.binding instanceof ParameterizedGenericMethodBinding && this.typeArguments != null) {
        TypeVariableBinding[] typeVariables = this.binding.original().typeVariables();
View Full Code Here

    return null;
  }

  if (compilerOptions.isAnnotationBasedNullAnalysisEnabled && (this.binding.tagBits & TagBits.IsNullnessKnown) == 0) {
    // not interested in reporting problems against this.binding:
    new ImplicitNullAnnotationVerifier(compilerOptions.inheritNullAnnotations)
        .checkImplicitNullAnnotations(this.binding, null/*srcMethod*/, false, scope);
  }
 
  if (((this.bits & ASTNode.InsideExpressionStatement) != 0)
      && this.binding.isPolymorphic()) {
View Full Code Here

    }
    TypeBinding result=resolveTypeForQualifiedAllocationExpression(scope);
    if(result != null) {
      final CompilerOptions compilerOptions = scope.compilerOptions();
      if (compilerOptions.isAnnotationBasedNullAnalysisEnabled && (this.binding.tagBits & TagBits.IsNullnessKnown) == 0) {
        new ImplicitNullAnnotationVerifier(compilerOptions.inheritNullAnnotations)
            .checkImplicitNullAnnotations(this.binding, null/*srcMethod*/, false, scope);
      }
    }
    return result;
  }
View Full Code Here

TOP

Related Classes of org.eclipse.jdt.internal.compiler.lookup.ImplicitNullAnnotationVerifier$InheritedNonNullnessInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.