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 { if(this.binding.isDefaultAbstract()) { throw new SelectionNodeFound(findNonDefaultAbstractMethod(this.binding)); // 23594 } 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 { if(this.binding.isDefaultAbstract()) { throw new SelectionNodeFound(findNonDefaultAbstractMethod(this.binding)); // 23594 } 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 { if(this.binding.isDefaultAbstract()) { throw new SelectionNodeFound(findNonDefaultAbstractMethod(this.binding)); // 23594 } else { throw new SelectionNodeFound(this.binding); } } } }
public TypeBinding resolveType(BlockScope scope) { TypeBinding type = super.resolveType(scope); if (type != null && type.isPolyType()) return type; // wait for more inference/resolution // 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 { if(this.binding.isDefaultAbstract()) { throw new SelectionNodeFound(findNonDefaultAbstractMethod(this.binding)); // 23594 } else { throw new SelectionNodeFound(this.binding); } } } }
public TypeBinding resolveType(BlockScope scope) { TypeBinding type = super.resolveType(scope); if (type != null && type.isPolyType()) return type; // wait for more inference/resolution // 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 { if(this.binding.isDefaultAbstract()) { throw new SelectionNodeFound(findNonDefaultAbstractMethod(this.binding)); // 23594 } else { throw new SelectionNodeFound(this.binding); } } } }
@Override public TypeBinding resolveType(BlockScope scope) { TypeBinding type = super.resolveType(scope); if (type != null && type.isPolyType()) return type; // wait for more inference/resolution // 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 { if(this.binding.isDefaultAbstract()) { throw new SelectionNodeFound(findNonDefaultAbstractMethod(this.binding)); // 23594 } else { throw new SelectionNodeFound(this.binding); } } } }