public final boolean isValidBinding() { return problemId() == ProblemReasons.NoError; } public boolean isVolatile() {
public final boolean isValidBinding() { return problemId() == ProblemReasons.NoError; } public boolean isVolatile() {
public final boolean isValidBinding() { return problemId() == ProblemReasons.NoError; } public boolean isVolatile() {
public final boolean isValidBinding() { return problemId() == ProblemReasons.NoError; } public boolean isVolatile() {
public final boolean isValidBinding() { return problemId() == ProblemReasons.NoError; } public boolean isVolatile() {
public final boolean isValidBinding() { return problemId() == ProblemReasons.NoError; } public static boolean isValid(/*@Nullable*/Binding binding) {
public final boolean isValidBinding() { return problemId() == ProblemReasons.NoError; } public static boolean isValid(/*@Nullable*/Binding binding) {
public final boolean isValidBinding() { return problemId() == ProblemReasons.NoError; } public boolean isVolatile() {
public final boolean isValidBinding() { return problemId() == ProblemReasons.NoError; } /* API
public final boolean isValidBinding() { return problemId() == ProblemReasons.NoError; } public boolean isVolatile() {
public final boolean isValidBinding() { return problemId() == ProblemReasons.NoError; } public boolean isVolatile() {
protected TypeBinding getTypeBinding(Scope scope) { // it can be a package, type or member type Binding binding = scope.parent.getTypeOrPackage(this.tokens); // step up from the ClassScope if (!binding.isValidBinding()) { scope.problemReporter().invalidType(this, (TypeBinding) binding); if (binding.problemId() == ProblemReasons.NotFound) { throw new CompletionNodeFound(this, binding, scope); } throw new CompletionNodeFound(); } throw new CompletionNodeFound(this, binding, scope); } public boolean isClass(){
protected TypeBinding getTypeBinding(Scope scope) { // it can be a package, type or member type Binding binding = scope.parent.getTypeOrPackage(this.tokens); // step up from the ClassScope if (!binding.isValidBinding()) { scope.problemReporter().invalidType(this, (TypeBinding) binding); if (binding.problemId() == ProblemReasons.NotFound) { throw new CompletionNodeFound(this, binding, scope); } throw new CompletionNodeFound(); } throw new CompletionNodeFound(this, binding, scope); } public boolean isClass(){
protected TypeBinding getTypeBinding(Scope scope) { // it can be a package, type or member type Binding binding = scope.parent.getTypeOrPackage(this.tokens); // step up from the ClassScope if (!binding.isValidBinding()) { scope.problemReporter().invalidType(this, (TypeBinding) binding); if (binding.problemId() == ProblemReasons.NotFound) { throw new CompletionNodeFound(this, binding, scope); } throw new CompletionNodeFound(); } throw new CompletionNodeFound(this, binding, scope); } public boolean isClass(){
protected TypeBinding getTypeBinding(Scope scope) { // it can be a package, type or member type Binding binding = scope.parent.getTypeOrPackage(this.tokens); // step up from the ClassScope if (!binding.isValidBinding()) { scope.problemReporter().invalidType(this, (TypeBinding) binding); if (binding.problemId() == ProblemReasons.NotFound) { throw new CompletionNodeFound(this, binding, scope); } throw new CompletionNodeFound(); } throw new CompletionNodeFound(this, binding, scope); } public boolean isClass(){
@Override protected TypeBinding getTypeBinding(Scope scope) { // it can be a package, type or member type Binding binding = scope.parent.getTypeOrPackage(this.tokens); // step up from the ClassScope if (!binding.isValidBinding()) { scope.problemReporter().invalidType(this, (TypeBinding) binding); if (binding.problemId() == ProblemReasons.NotFound) { throw new CompletionNodeFound(this, binding, scope); } throw new CompletionNodeFound(); } throw new CompletionNodeFound(this, binding, scope); } public boolean isClass(){
protected TypeBinding getTypeBinding(Scope scope) { // it can be a package, type or member type Binding binding = scope.parent.getTypeOrPackage(this.tokens); // step up from the ClassScope if (!binding.isValidBinding()) { scope.problemReporter().invalidType(this, (TypeBinding) binding); if (binding.problemId() == ProblemReasons.NotFound) { throw new CompletionNodeFound(this, binding, scope); } throw new CompletionNodeFound(); } throw new CompletionNodeFound(this, binding, scope); } public boolean isClass(){
protected TypeBinding getTypeBinding(Scope scope) { // it can be a package, type or member type Binding binding = scope.getTypeOrPackage(new char[][] {this.token}); if (!binding.isValidBinding()) { if (binding instanceof TypeBinding) { scope.problemReporter().invalidType(this, (TypeBinding) binding); } else if (binding instanceof PackageBinding) { ProblemReferenceBinding problemBinding = new ProblemReferenceBinding(((PackageBinding)binding).compoundName, null, binding.problemId()); scope.problemReporter().invalidType(this, problemBinding); } throw new SelectionNodeFound(); } throw new SelectionNodeFound(binding); } public StringBuffer printExpression(int indent, StringBuffer output) {
protected TypeBinding getTypeBinding(Scope scope) { // it can be a package, type or member type Binding binding = scope.getTypeOrPackage(new char[][] {this.token}); if (!binding.isValidBinding()) { if (binding instanceof TypeBinding) { scope.problemReporter().invalidType(this, (TypeBinding) binding); } else if (binding instanceof PackageBinding) { ProblemReferenceBinding problemBinding = new ProblemReferenceBinding(((PackageBinding)binding).compoundName, null, binding.problemId()); scope.problemReporter().invalidType(this, problemBinding); } throw new SelectionNodeFound(); } throw new SelectionNodeFound(binding); } public StringBuffer printExpression(int indent, StringBuffer output) {
protected TypeBinding getTypeBinding(Scope scope) { // it can be a package, type or member type Binding binding = scope.getTypeOrPackage(new char[][] {this.token}); if (!binding.isValidBinding()) { if (binding instanceof TypeBinding) { scope.problemReporter().invalidType(this, (TypeBinding) binding); } else if (binding instanceof PackageBinding) { ProblemReferenceBinding problemBinding = new ProblemReferenceBinding(((PackageBinding)binding).compoundName, null, binding.problemId()); scope.problemReporter().invalidType(this, problemBinding); } throw new SelectionNodeFound(); } throw new SelectionNodeFound(binding); } public StringBuffer printExpression(int indent, StringBuffer output) {