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

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

Best Java code snippets using org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.resolveAnnotations (Showing top 11 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: 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: 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

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.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/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.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;
  }
}
org.eclipse.jdt.internal.compiler.astAbstractMethodDeclarationresolveAnnotations

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

  • Parsing JSON documents to java classes using gson
  • setContentView (Activity)
  • onCreateOptionsMenu (Activity)
  • scheduleAtFixedRate (Timer)
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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