Examples of problemId()


Examples of org.eclipse.jdt.internal.compiler.lookup.ProblemReferenceBinding.problemId()

          compoundName.length);
      if (typeBinding == null) {
        GWTProblem.recordInCud(rescue, cud, notFound(className), null);
      } else if (typeBinding instanceof ProblemReferenceBinding) {
        ProblemReferenceBinding problem = (ProblemReferenceBinding) typeBinding;
        if (problem.problemId() == ProblemReasons.NotVisible) {
          // Ignore
        } else if (problem.problemId() == ProblemReasons.NotFound) {
          GWTProblem.recordInCud(rescue, cud, notFound(className), null);
        } else {
          GWTProblem.recordInCud(rescue, cud,
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.ProblemReferenceBinding.problemId()

        GWTProblem.recordInCud(rescue, cud, notFound(className), null);
      } else if (typeBinding instanceof ProblemReferenceBinding) {
        ProblemReferenceBinding problem = (ProblemReferenceBinding) typeBinding;
        if (problem.problemId() == ProblemReasons.NotVisible) {
          // Ignore
        } else if (problem.problemId() == ProblemReasons.NotFound) {
          GWTProblem.recordInCud(rescue, cud, notFound(className), null);
        } else {
          GWTProblem.recordInCud(rescue, cud,
              unknownProblem(className, problem), null);
        }
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.ProblemReferenceBinding.problemId()

          compoundName.length);
      if (typeBinding == null) {
        GWTProblem.recordError(rescue, cud, notFound(className), null);
      } else if (typeBinding instanceof ProblemReferenceBinding) {
        ProblemReferenceBinding problem = (ProblemReferenceBinding) typeBinding;
        if (problem.problemId() == ProblemReasons.NotVisible) {
          // Ignore
        } else if (problem.problemId() == ProblemReasons.NotFound) {
          GWTProblem.recordError(rescue, cud, notFound(className), null);
        } else {
          GWTProblem.recordError(rescue, cud,
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.ProblemReferenceBinding.problemId()

        GWTProblem.recordError(rescue, cud, notFound(className), null);
      } else if (typeBinding instanceof ProblemReferenceBinding) {
        ProblemReferenceBinding problem = (ProblemReferenceBinding) typeBinding;
        if (problem.problemId() == ProblemReasons.NotVisible) {
          // Ignore
        } else if (problem.problemId() == ProblemReasons.NotFound) {
          GWTProblem.recordError(rescue, cud, notFound(className), null);
        } else {
          GWTProblem.recordError(rescue, cud,
              unknownProblem(className, problem), null);
        }
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.ProblemReferenceBinding.problemId()

          className.toCharArray());
      TypeBinding binding = cud.scope.getType(compoundName, compoundName.length);

      if (binding instanceof ProblemReferenceBinding) {
        ProblemReferenceBinding prb = (ProblemReferenceBinding) binding;
        if (prb.problemId() == ProblemReasons.NotVisible) {
          // It's just a visibility problem, so try drilling
          // down manually
          ReferenceBinding drilling = prb.closestMatch();
          for (int i = prb.compoundName.length; i < compoundName.length; i++) {
            drilling = drilling.getMemberType(compoundName[i]);
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.ProblemReferenceBinding.problemId()

      // compoundName = next;
      // binding = cud.scope.environment().askForType(compoundName);
      // }
      if (binding instanceof ProblemReferenceBinding) {
        ProblemReferenceBinding prb = (ProblemReferenceBinding) binding;
        if (prb.problemId() == ProblemReasons.NotVisible) {
          // It's just a visibility problem, so try drilling down manually
          ReferenceBinding drilling = prb.closestReferenceMatch();
          for (int i = prb.compoundName.length; i < compoundName.length; i++) {
            drilling = drilling.getMemberType(compoundName[i]);
          }
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.ProblemReferenceBinding.problemId()

          compoundName.length);
      if (typeBinding == null) {
        GWTProblem.recordError(rescue, cud, notFound(className), null);
      } else if (typeBinding instanceof ProblemReferenceBinding) {
        ProblemReferenceBinding problem = (ProblemReferenceBinding) typeBinding;
        if (problem.problemId() == ProblemReasons.NotVisible) {
          // Ignore
        } else if (problem.problemId() == ProblemReasons.NotFound) {
          GWTProblem.recordError(rescue, cud, notFound(className), null);
        } else {
          GWTProblem.recordError(rescue, cud,
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.ProblemReferenceBinding.problemId()

        GWTProblem.recordError(rescue, cud, notFound(className), null);
      } else if (typeBinding instanceof ProblemReferenceBinding) {
        ProblemReferenceBinding problem = (ProblemReferenceBinding) typeBinding;
        if (problem.problemId() == ProblemReasons.NotVisible) {
          // Ignore
        } else if (problem.problemId() == ProblemReasons.NotFound) {
          GWTProblem.recordError(rescue, cud, notFound(className), null);
        } else {
          GWTProblem.recordError(rescue, cud,
              unknownProblem(className, problem), null);
        }
View Full Code Here

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

  TypeBinding type = this.resolvedType = getTypeBinding(scope);
  if (type == null) {
    return null; // detected cycle while resolving hierarchy
  } else if ((hasError = !type.isValidBinding()) == true) {
    reportInvalidType(scope);
    switch (type.problemId()) {
      case ProblemReasons.NotFound :
      case ProblemReasons.NotVisible :
      case ProblemReasons.InheritedNameHidesEnclosingName :
        type = type.closestMatch();
        if (type == null) return null;
View Full Code Here

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

  TypeBinding type = this.resolvedType = getTypeBinding(scope);
  if (type == null) {
    return null; // detected cycle while resolving hierarchy
  } else if ((hasError = !type.isValidBinding()) == true) {
    reportInvalidType(scope);
    switch (type.problemId()) {
      case ProblemReasons.NotFound :
      case ProblemReasons.NotVisible :
      case ProblemReasons.InheritedNameHidesEnclosingName :
        type = type.closestMatch();
        if (type == null) return null;
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.