Examples of needsUncheckedConversion()


Examples of org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding.needsUncheckedConversion()

  if (arguments != null) {
    for (int i = 0; i < arguments.length; i++) {
        TypeBinding parameterType = binding.parameters[i];
        TypeBinding argumentType = argumentTypes[i];
      arguments[i].computeConversion(scope, parameterType, argumentType);
      if (argumentType.needsUncheckedConversion(parameterType)) {
        scope.problemReporter().unsafeTypeConversion(arguments[i], argumentType, parameterType);
      }
    }
    if (argsContainCast) {
      CastExpression.checkNeedForArgumentCasts(scope, null, allocatedType, binding, this.arguments, argumentTypes, this);
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.TypeBinding.needsUncheckedConversion()

  if (this.arguments != null) {
    for (int i = 0; i < this.arguments.length; i++) {
      TypeBinding parameterType = this.binding.parameters[i];
      TypeBinding argumentType = argumentTypes[i];
      this.arguments[i].computeConversion(scope, parameterType, argumentType);
      if (argumentType.needsUncheckedConversion(parameterType)) {
        scope.problemReporter().unsafeTypeConversion(this.arguments[i], argumentType, parameterType);
      }
    }
    if (argsContainCast) {
      CastExpression.checkNeedForArgumentCasts(scope, null, allocatedType, this.binding, this.arguments, argumentTypes, this);
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.TypeBinding.needsUncheckedConversion()

  if (this.arguments != null) {
    for (int i = 0; i < this.arguments.length; i++) {
      TypeBinding parameterType = this.binding.parameters[i];
      TypeBinding argumentType = argumentTypes[i];
      this.arguments[i].computeConversion(scope, parameterType, argumentType);
      if (argumentType.needsUncheckedConversion(parameterType)) {
        scope.problemReporter().unsafeTypeConversion(this.arguments[i], argumentType, parameterType);
      }
    }
    if (argsContainCast) {
      CastExpression.checkNeedForArgumentCasts(scope, null, allocatedType, this.binding, this.arguments, argumentTypes, this);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.