@Override public TypeBinding resolveType(BlockScope scope) { super.resolveType(scope); // tolerate some error cases if (this.binding == null || !(this.binding.isValidBinding() || this.binding.problemId() == ProblemReasons.NotVisible || this.binding.problemId() == ProblemReasons.InheritedNameHidesEnclosingName || this.binding.problemId() == ProblemReasons.NonStaticReferenceInConstructorInvocation || this.binding.problemId() == ProblemReasons.NonStaticReferenceInStaticContext)) throw new SelectionNodeFound(); else throw new SelectionNodeFound(this.binding); } }
public TypeBinding resolveType(BlockScope scope) { super.resolveType(scope); // tolerate some error cases if (this.binding == null || !(this.binding.isValidBinding() || this.binding.problemId() == ProblemReasons.NotVisible || this.binding.problemId() == ProblemReasons.InheritedNameHidesEnclosingName || this.binding.problemId() == ProblemReasons.NonStaticReferenceInConstructorInvocation || this.binding.problemId() == ProblemReasons.NonStaticReferenceInStaticContext)) throw new SelectionNodeFound(); else throw new SelectionNodeFound(this.binding); } }
public TypeBinding resolveType(BlockScope scope) { super.resolveType(scope); // tolerate some error cases if (this.binding == null || !(this.binding.isValidBinding() || this.binding.problemId() == ProblemReasons.NotVisible || this.binding.problemId() == ProblemReasons.InheritedNameHidesEnclosingName || this.binding.problemId() == ProblemReasons.NonStaticReferenceInConstructorInvocation || this.binding.problemId() == ProblemReasons.NonStaticReferenceInStaticContext)) throw new SelectionNodeFound(); else throw new SelectionNodeFound(this.binding); } }
public TypeBinding resolveType(BlockScope scope) { super.resolveType(scope); // tolerate some error cases if (this.binding == null || !(this.binding.isValidBinding() || this.binding.problemId() == ProblemReasons.NotVisible || this.binding.problemId() == ProblemReasons.InheritedNameHidesEnclosingName || this.binding.problemId() == ProblemReasons.NonStaticReferenceInConstructorInvocation || this.binding.problemId() == ProblemReasons.NonStaticReferenceInStaticContext)) throw new SelectionNodeFound(); else throw new SelectionNodeFound(this.binding); } }
public TypeBinding resolveType(BlockScope scope) { super.resolveType(scope); // tolerate some error cases if (this.binding == null || !(this.binding.isValidBinding() || this.binding.problemId() == ProblemReasons.NotVisible || this.binding.problemId() == ProblemReasons.InheritedNameHidesEnclosingName || this.binding.problemId() == ProblemReasons.NonStaticReferenceInConstructorInvocation || this.binding.problemId() == ProblemReasons.NonStaticReferenceInStaticContext)) throw new SelectionNodeFound(); else throw new SelectionNodeFound(this.binding); } }
public TypeBinding resolveType(BlockScope scope) { super.resolveType(scope); // tolerate some error cases if (this.binding == null || !(this.binding.isValidBinding() || this.binding.problemId() == ProblemReasons.NotVisible || this.binding.problemId() == ProblemReasons.InheritedNameHidesEnclosingName || this.binding.problemId() == ProblemReasons.NonStaticReferenceInConstructorInvocation || this.binding.problemId() == ProblemReasons.NonStaticReferenceInStaticContext)) throw new SelectionNodeFound(); else throw new SelectionNodeFound(this.binding); } }