Tabnine Logo
AbstractMethodDeclaration.resolveStatements
Code IndexAdd Tabnine to your IDE (free)

How to use
resolveStatements
method
in
org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration

Best Java code snippets using org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements (Showing top 20 results out of 315)

origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.jdt.core

public void resolve(ClassScope upperScope) {
  if (this.binding == null) {
    this.ignoreFurtherInvestigation = true;
  }
  try {
    bindArguments();
    bindThrownExceptions();
    resolveJavadoc();
    resolveAnnotations(this.scope, this.annotations, this.binding);
    resolveStatements();
    // check @Deprecated annotation presence
    if (this.binding != null
        && (this.binding.getAnnotationTagBits() & TagBits.AnnotationDeprecated) == 0
        && (this.binding.modifiers & ClassFileConstants.AccDeprecated) != 0
        && this.scope.compilerOptions().sourceLevel >= ClassFileConstants.JDK1_5) {
      this.scope.problemReporter().missingDeprecatedAnnotationForMethod(this);
    }
  } catch (AbortMethod e) {
    // ========= abort on fatal error =============
    this.ignoreFurtherInvestigation = true;
  }
}
origin: com.ovea.tajin.server/tajin-server-tomcat7

public void resolve(ClassScope upperScope) {
  if (this.binding == null) {
    this.ignoreFurtherInvestigation = true;
  }
  try {
    bindArguments();
    bindThrownExceptions();
    resolveJavadoc();
    resolveAnnotations(this.scope, this.annotations, this.binding);
    resolveStatements();
    // check @Deprecated annotation presence
    if (this.binding != null
        && (this.binding.getAnnotationTagBits() & TagBits.AnnotationDeprecated) == 0
        && (this.binding.modifiers & ClassFileConstants.AccDeprecated) != 0
        && this.scope.compilerOptions().sourceLevel >= ClassFileConstants.JDK1_5) {
      this.scope.problemReporter().missingDeprecatedAnnotationForMethod(this);
    }
  } catch (AbortMethod e) {
    // ========= abort on fatal error =============
    this.ignoreFurtherInvestigation = true;
  }
}
origin: org.eclipse.jetty.orbit/org.eclipse.jdt.core

public void resolve(ClassScope upperScope) {
  if (this.binding == null) {
    this.ignoreFurtherInvestigation = true;
  }
  try {
    bindArguments();
    bindThrownExceptions();
    resolveJavadoc();
    resolveAnnotations(this.scope, this.annotations, this.binding);
    validateNullAnnotations();
    resolveStatements();
    // check @Deprecated annotation presence
    if (this.binding != null
        && (this.binding.getAnnotationTagBits() & TagBits.AnnotationDeprecated) == 0
        && (this.binding.modifiers & ClassFileConstants.AccDeprecated) != 0
        && this.scope.compilerOptions().sourceLevel >= ClassFileConstants.JDK1_5) {
      this.scope.problemReporter().missingDeprecatedAnnotationForMethod(this);
    }
  } catch (AbortMethod e) {
    // ========= abort on fatal error =============
    this.ignoreFurtherInvestigation = true;
  }
}
origin: com.vaadin/vaadin-client-compiler-deps

public void resolve(ClassScope upperScope) {
  if (this.binding == null) {
    this.ignoreFurtherInvestigation = true;
  }
  try {
    bindArguments();
    resolveReceiver();
    bindThrownExceptions();
    resolveJavadoc();
    resolveAnnotations(this.scope, this.annotations, this.binding);
    
    long sourceLevel = this.scope.compilerOptions().sourceLevel;
    validateNullAnnotations(sourceLevel);
    resolveStatements();
    // check @Deprecated annotation presence
    if (this.binding != null
        && (this.binding.getAnnotationTagBits() & TagBits.AnnotationDeprecated) == 0
        && (this.binding.modifiers & ClassFileConstants.AccDeprecated) != 0
        && sourceLevel >= ClassFileConstants.JDK1_5) {
      this.scope.problemReporter().missingDeprecatedAnnotationForMethod(this);
    }
  } catch (AbortMethod e) {
    // ========= abort on fatal error =============
    this.ignoreFurtherInvestigation = true;
  }
}
origin: org.eclipse.jdt.core.compiler/ecj

public void resolveStatements() {
  SourceTypeBinding sourceType = this.scope.enclosingSourceType();
  if (!CharOperation.equals(sourceType.sourceName, this.selector)){
    this.scope.problemReporter().missingReturnType(this);
  }
  // typeParameters are already resolved from Scope#connectTypeVariables()
  if (this.binding != null && !this.binding.isPrivate()) {
    sourceType.tagBits |= TagBits.HasNonPrivateConstructor;
  }
  // if null ==> an error has occurs at parsing time ....
  if (this.constructorCall != null) {
    if (sourceType.id == TypeIds.T_JavaLangObject
        && this.constructorCall.accessMode != ExplicitConstructorCall.This) {
      // cannot use super() in java.lang.Object
      if (this.constructorCall.accessMode == ExplicitConstructorCall.Super) {
        this.scope.problemReporter().cannotUseSuperInJavaLangObject(this.constructorCall);
      }
      this.constructorCall = null;
    } else {
      this.constructorCall.resolve(this.scope);
    }
  }
  if ((this.modifiers & ExtraCompilerModifiers.AccSemicolonBody) != 0) {
    this.scope.problemReporter().methodNeedBody(this);
  }
  super.resolveStatements();
}

origin: com.google.code.maven-play-plugin.org.eclipse.jdt/org.eclipse.jdt.core

public void resolve(ClassScope upperScope) {
  if (this.binding == null) {
    this.ignoreFurtherInvestigation = true;
  }
  try {
    bindArguments();
    resolveReceiver();
    bindThrownExceptions();
    resolveJavadoc();
    resolveAnnotations(this.scope, this.annotations, this.binding);
    
    long sourceLevel = this.scope.compilerOptions().sourceLevel;
    validateNullAnnotations(sourceLevel);
    resolveStatements();
    // check @Deprecated annotation presence
    if (this.binding != null
        && (this.binding.getAnnotationTagBits() & TagBits.AnnotationDeprecated) == 0
        && (this.binding.modifiers & ClassFileConstants.AccDeprecated) != 0
        && sourceLevel >= ClassFileConstants.JDK1_5) {
      this.scope.problemReporter().missingDeprecatedAnnotationForMethod(this);
    }
  } catch (AbortMethod e) {
    // ========= abort on fatal error =============
    this.ignoreFurtherInvestigation = true;
  }
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.core

public void resolveStatements() {
  SourceTypeBinding sourceType = this.scope.enclosingSourceType();
  if (!CharOperation.equals(sourceType.sourceName, this.selector)){
    this.scope.problemReporter().missingReturnType(this);
  }
  // typeParameters are already resolved from Scope#connectTypeVariables()
  if (this.binding != null && !this.binding.isPrivate()) {
    sourceType.tagBits |= TagBits.HasNonPrivateConstructor;
  }
  // if null ==> an error has occurs at parsing time ....
  if (this.constructorCall != null) {
    if (sourceType.id == TypeIds.T_JavaLangObject
        && this.constructorCall.accessMode != ExplicitConstructorCall.This) {
      // cannot use super() in java.lang.Object
      if (this.constructorCall.accessMode == ExplicitConstructorCall.Super) {
        this.scope.problemReporter().cannotUseSuperInJavaLangObject(this.constructorCall);
      }
      this.constructorCall = null;
    } else {
      this.constructorCall.resolve(this.scope);
    }
  }
  if ((this.modifiers & ExtraCompilerModifiers.AccSemicolonBody) != 0) {
    this.scope.problemReporter().methodNeedBody(this);
  }
  super.resolveStatements();
}

origin: org.eclipse.scout.sdk.deps/ecj

public void resolveStatements() {
  SourceTypeBinding sourceType = this.scope.enclosingSourceType();
  if (!CharOperation.equals(sourceType.sourceName, this.selector)){
    this.scope.problemReporter().missingReturnType(this);
  }
  // typeParameters are already resolved from Scope#connectTypeVariables()
  if (this.binding != null && !this.binding.isPrivate()) {
    sourceType.tagBits |= TagBits.HasNonPrivateConstructor;
  }
  // if null ==> an error has occurs at parsing time ....
  if (this.constructorCall != null) {
    if (sourceType.id == TypeIds.T_JavaLangObject
        && this.constructorCall.accessMode != ExplicitConstructorCall.This) {
      // cannot use super() in java.lang.Object
      if (this.constructorCall.accessMode == ExplicitConstructorCall.Super) {
        this.scope.problemReporter().cannotUseSuperInJavaLangObject(this.constructorCall);
      }
      this.constructorCall = null;
    } else {
      this.constructorCall.resolve(this.scope);
    }
  }
  if ((this.modifiers & ExtraCompilerModifiers.AccSemicolonBody) != 0) {
    this.scope.problemReporter().methodNeedBody(this);
  }
  super.resolveStatements();
}

origin: trylimits/Eclipse-Postfix-Code-Completion

public void resolve(ClassScope upperScope) {
  if (this.binding == null) {
    this.ignoreFurtherInvestigation = true;
  }
  try {
    bindArguments();
    resolveReceiver();
    bindThrownExceptions();
    resolveJavadoc();
    resolveAnnotations(this.scope, this.annotations, this.binding);
    
    long sourceLevel = this.scope.compilerOptions().sourceLevel;
    validateNullAnnotations(sourceLevel);
    resolveStatements();
    // check @Deprecated annotation presence
    if (this.binding != null
        && (this.binding.getAnnotationTagBits() & TagBits.AnnotationDeprecated) == 0
        && (this.binding.modifiers & ClassFileConstants.AccDeprecated) != 0
        && sourceLevel >= ClassFileConstants.JDK1_5) {
      this.scope.problemReporter().missingDeprecatedAnnotationForMethod(this);
    }
  } catch (AbortMethod e) {
    // ========= abort on fatal error =============
    this.ignoreFurtherInvestigation = true;
  }
}
origin: org.eclipse.jdt/org.eclipse.jdt.core

@Override
public void resolveStatements() {
  SourceTypeBinding sourceType = this.scope.enclosingSourceType();
  if (!CharOperation.equals(sourceType.sourceName, this.selector)){
    this.scope.problemReporter().missingReturnType(this);
  }
  // typeParameters are already resolved from Scope#connectTypeVariables()
  if (this.binding != null && !this.binding.isPrivate()) {
    sourceType.tagBits |= TagBits.HasNonPrivateConstructor;
  }
  // if null ==> an error has occurs at parsing time ....
  if (this.constructorCall != null) {
    if (sourceType.id == TypeIds.T_JavaLangObject
        && this.constructorCall.accessMode != ExplicitConstructorCall.This) {
      // cannot use super() in java.lang.Object
      if (this.constructorCall.accessMode == ExplicitConstructorCall.Super) {
        this.scope.problemReporter().cannotUseSuperInJavaLangObject(this.constructorCall);
      }
      this.constructorCall = null;
    } else {
      this.constructorCall.resolve(this.scope);
    }
  }
  if ((this.modifiers & ExtraCompilerModifiers.AccSemicolonBody) != 0) {
    this.scope.problemReporter().methodNeedBody(this);
  }
  super.resolveStatements();
}

origin: org.eclipse.tycho/org.eclipse.jdt.core

public void resolveStatements() {
  SourceTypeBinding sourceType = this.scope.enclosingSourceType();
  if (!CharOperation.equals(sourceType.sourceName, this.selector)){
    this.scope.problemReporter().missingReturnType(this);
  }
  // typeParameters are already resolved from Scope#connectTypeVariables()
  if (this.binding != null && !this.binding.isPrivate()) {
    sourceType.tagBits |= TagBits.HasNonPrivateConstructor;
  }
  // if null ==> an error has occurs at parsing time ....
  if (this.constructorCall != null) {
    if (sourceType.id == TypeIds.T_JavaLangObject
        && this.constructorCall.accessMode != ExplicitConstructorCall.This) {
      // cannot use super() in java.lang.Object
      if (this.constructorCall.accessMode == ExplicitConstructorCall.Super) {
        this.scope.problemReporter().cannotUseSuperInJavaLangObject(this.constructorCall);
      }
      this.constructorCall = null;
    } else {
      this.constructorCall.resolve(this.scope);
    }
  }
  if ((this.modifiers & ExtraCompilerModifiers.AccSemicolonBody) != 0) {
    this.scope.problemReporter().methodNeedBody(this);
  }
  super.resolveStatements();
}

origin: com.vaadin/vaadin-client-compiler-deps

public void resolveStatements() {
  SourceTypeBinding sourceType = this.scope.enclosingSourceType();
  if (!CharOperation.equals(sourceType.sourceName, this.selector)){
    this.scope.problemReporter().missingReturnType(this);
  }
  // typeParameters are already resolved from Scope#connectTypeVariables()
  if (this.binding != null && !this.binding.isPrivate()) {
    sourceType.tagBits |= TagBits.HasNonPrivateConstructor;
  }
  // if null ==> an error has occurs at parsing time ....
  if (this.constructorCall != null) {
    if (sourceType.id == TypeIds.T_JavaLangObject
        && this.constructorCall.accessMode != ExplicitConstructorCall.This) {
      // cannot use super() in java.lang.Object
      if (this.constructorCall.accessMode == ExplicitConstructorCall.Super) {
        this.scope.problemReporter().cannotUseSuperInJavaLangObject(this.constructorCall);
      }
      this.constructorCall = null;
    } else {
      this.constructorCall.resolve(this.scope);
    }
  }
  if ((this.modifiers & ExtraCompilerModifiers.AccSemicolonBody) != 0) {
    this.scope.problemReporter().methodNeedBody(this);
  }
  super.resolveStatements();
}

origin: com.google.code.maven-play-plugin.org.eclipse.jdt/org.eclipse.jdt.core

public void resolveStatements() {
  SourceTypeBinding sourceType = this.scope.enclosingSourceType();
  if (!CharOperation.equals(sourceType.sourceName, this.selector)){
    this.scope.problemReporter().missingReturnType(this);
  }
  // typeParameters are already resolved from Scope#connectTypeVariables()
  if (this.binding != null && !this.binding.isPrivate()) {
    sourceType.tagBits |= TagBits.HasNonPrivateConstructor;
  }
  // if null ==> an error has occurs at parsing time ....
  if (this.constructorCall != null) {
    if (sourceType.id == TypeIds.T_JavaLangObject
        && this.constructorCall.accessMode != ExplicitConstructorCall.This) {
      // cannot use super() in java.lang.Object
      if (this.constructorCall.accessMode == ExplicitConstructorCall.Super) {
        this.scope.problemReporter().cannotUseSuperInJavaLangObject(this.constructorCall);
      }
      this.constructorCall = null;
    } else {
      this.constructorCall.resolve(this.scope);
    }
  }
  if ((this.modifiers & ExtraCompilerModifiers.AccSemicolonBody) != 0) {
    this.scope.problemReporter().methodNeedBody(this);
  }
  super.resolveStatements();
}
 
origin: trylimits/Eclipse-Postfix-Code-Completion

public void resolveStatements() {
  SourceTypeBinding sourceType = this.scope.enclosingSourceType();
  if (!CharOperation.equals(sourceType.sourceName, this.selector)){
    this.scope.problemReporter().missingReturnType(this);
  }
  // typeParameters are already resolved from Scope#connectTypeVariables()
  if (this.binding != null && !this.binding.isPrivate()) {
    sourceType.tagBits |= TagBits.HasNonPrivateConstructor;
  }
  // if null ==> an error has occurs at parsing time ....
  if (this.constructorCall != null) {
    if (sourceType.id == TypeIds.T_JavaLangObject
        && this.constructorCall.accessMode != ExplicitConstructorCall.This) {
      // cannot use super() in java.lang.Object
      if (this.constructorCall.accessMode == ExplicitConstructorCall.Super) {
        this.scope.problemReporter().cannotUseSuperInJavaLangObject(this.constructorCall);
      }
      this.constructorCall = null;
    } else {
      this.constructorCall.resolve(this.scope);
    }
  }
  if ((this.modifiers & ExtraCompilerModifiers.AccSemicolonBody) != 0) {
    this.scope.problemReporter().methodNeedBody(this);
  }
  super.resolveStatements();
}

origin: org.eclipse.jdt/org.eclipse.jdt.core

public void resolve(ClassScope upperScope) {
  if (this.binding == null) {
    this.ignoreFurtherInvestigation = true;
  }
  try {
    bindArguments();
    resolveReceiver();
    bindThrownExceptions();
    resolveAnnotations(this.scope, this.annotations, this.binding, this.isConstructor());
    
    long sourceLevel = this.scope.compilerOptions().sourceLevel;
    if (sourceLevel < ClassFileConstants.JDK1_8) // otherwise already checked via Argument.createBinding
      validateNullAnnotations(this.scope.environment().usesNullTypeAnnotations());
    resolveStatements();
    // check @Deprecated annotation presence
    if (this.binding != null
        && (this.binding.getAnnotationTagBits() & TagBits.AnnotationDeprecated) == 0
        && (this.binding.modifiers & ClassFileConstants.AccDeprecated) != 0
        && sourceLevel >= ClassFileConstants.JDK1_5) {
      this.scope.problemReporter().missingDeprecatedAnnotationForMethod(this);
    }
  } catch (AbortMethod e) {
    // ========= abort on fatal error =============
    this.ignoreFurtherInvestigation = true;
  }
}
origin: org.eclipse.jetty.orbit/org.eclipse.jdt.core

  this.scope.problemReporter().methodNeedBody(this);
super.resolveStatements();
origin: org.eclipse.tycho/org.eclipse.jdt.core

public void resolve(ClassScope upperScope) {
  if (this.binding == null) {
    this.ignoreFurtherInvestigation = true;
  }
  try {
    bindArguments();
    resolveReceiver();
    bindThrownExceptions();
    resolveJavadoc();
    resolveAnnotations(this.scope, this.annotations, this.binding, this.isConstructor());
    
    long sourceLevel = this.scope.compilerOptions().sourceLevel;
    if (sourceLevel < ClassFileConstants.JDK1_8) // otherwise already checked via Argument.createBinding
      validateNullAnnotations(this.scope.environment().usesNullTypeAnnotations());
    resolveStatements();
    // check @Deprecated annotation presence
    if (this.binding != null
        && (this.binding.getAnnotationTagBits() & TagBits.AnnotationDeprecated) == 0
        && (this.binding.modifiers & ClassFileConstants.AccDeprecated) != 0
        && sourceLevel >= ClassFileConstants.JDK1_5) {
      this.scope.problemReporter().missingDeprecatedAnnotationForMethod(this);
    }
  } catch (AbortMethod e) {
    // ========= abort on fatal error =============
    this.ignoreFurtherInvestigation = true;
  }
}
origin: org.eclipse.jdt.core.compiler/ecj

public void resolve(ClassScope upperScope) {
  if (this.binding == null) {
    this.ignoreFurtherInvestigation = true;
  }
  try {
    bindArguments();
    resolveReceiver();
    bindThrownExceptions();
    resolveJavadoc();
    resolveAnnotations(this.scope, this.annotations, this.binding, this.isConstructor());
    
    long sourceLevel = this.scope.compilerOptions().sourceLevel;
    if (sourceLevel < ClassFileConstants.JDK1_8) // otherwise already checked via Argument.createBinding
      validateNullAnnotations(this.scope.environment().usesNullTypeAnnotations());
    resolveStatements();
    // check @Deprecated annotation presence
    if (this.binding != null
        && (this.binding.getAnnotationTagBits() & TagBits.AnnotationDeprecated) == 0
        && (this.binding.modifiers & ClassFileConstants.AccDeprecated) != 0
        && sourceLevel >= ClassFileConstants.JDK1_5) {
      this.scope.problemReporter().missingDeprecatedAnnotationForMethod(this);
    }
  } catch (AbortMethod e) {
    // ========= abort on fatal error =============
    this.ignoreFurtherInvestigation = true;
  }
}
origin: org.eclipse.scout.sdk.deps/ecj

public void resolve(ClassScope upperScope) {
  if (this.binding == null) {
    this.ignoreFurtherInvestigation = true;
  }
  try {
    bindArguments();
    resolveReceiver();
    bindThrownExceptions();
    resolveJavadoc();
    resolveAnnotations(this.scope, this.annotations, this.binding, this.isConstructor());
    
    long sourceLevel = this.scope.compilerOptions().sourceLevel;
    if (sourceLevel < ClassFileConstants.JDK1_8) // otherwise already checked via Argument.createBinding
      validateNullAnnotations(this.scope.environment().usesNullTypeAnnotations());
    resolveStatements();
    // check @Deprecated annotation presence
    if (this.binding != null
        && (this.binding.getAnnotationTagBits() & TagBits.AnnotationDeprecated) == 0
        && (this.binding.modifiers & ClassFileConstants.AccDeprecated) != 0
        && sourceLevel >= ClassFileConstants.JDK1_5) {
      this.scope.problemReporter().missingDeprecatedAnnotationForMethod(this);
    }
  } catch (AbortMethod e) {
    // ========= abort on fatal error =============
    this.ignoreFurtherInvestigation = true;
  }
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.core

public void resolve(ClassScope upperScope) {
  if (this.binding == null) {
    this.ignoreFurtherInvestigation = true;
  }
  try {
    bindArguments();
    resolveReceiver();
    bindThrownExceptions();
    resolveJavadoc();
    resolveAnnotations(this.scope, this.annotations, this.binding, this.isConstructor());
    
    long sourceLevel = this.scope.compilerOptions().sourceLevel;
    if (sourceLevel < ClassFileConstants.JDK1_8) // otherwise already checked via Argument.createBinding
      validateNullAnnotations(this.scope.environment().usesNullTypeAnnotations());
    resolveStatements();
    // check @Deprecated annotation presence
    if (this.binding != null
        && (this.binding.getAnnotationTagBits() & TagBits.AnnotationDeprecated) == 0
        && (this.binding.modifiers & ClassFileConstants.AccDeprecated) != 0
        && sourceLevel >= ClassFileConstants.JDK1_5) {
      this.scope.problemReporter().missingDeprecatedAnnotationForMethod(this);
    }
  } catch (AbortMethod e) {
    // ========= abort on fatal error =============
    this.ignoreFurtherInvestigation = true;
  }
}
org.eclipse.jdt.internal.compiler.astAbstractMethodDeclarationresolveStatements

Popular methods of AbstractMethodDeclaration

  • isConstructor
  • typeParameters
  • traverse
  • isAbstract
  • isClinit
  • abort
  • bindArguments
    Bind and add argument's binding into the scope of the method
  • bindThrownExceptions
    Record the thrown exception type bindings in the corresponding type references.
  • checkArgumentsSize
  • compilationResult
  • generateCode
    Bytecode generation for a method
  • isAnnotationMethod
  • generateCode,
  • isAnnotationMethod,
  • isDefaultConstructor,
  • isInitializationMethod,
  • isMethod,
  • isStatic,
  • parseStatements,
  • print,
  • printAnnotations,
  • printBody

Popular in Java

  • Start an intent from android
  • getContentResolver (Context)
  • runOnUiThread (Activity)
  • getResourceAsStream (ClassLoader)
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • Table (org.hibernate.mapping)
    A relational table
  • Sublime Text for Python
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now