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

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

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

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

public void resolveJavadoc() {
  if (this.binding == null || this.javadoc != null) {
    super.resolveJavadoc();
  } else if ((this.bits & ASTNode.IsDefaultConstructor) == 0) {
    if (this.binding.declaringClass != null && !this.binding.declaringClass.isLocalType()) {
      // Set javadoc visibility
      int javadocVisibility = this.binding.modifiers & ExtraCompilerModifiers.AccVisibilityMASK;
      ClassScope classScope = this.scope.classScope();
      ProblemReporter reporter = this.scope.problemReporter();
      int severity = reporter.computeSeverity(IProblem.JavadocMissing);
      if (severity != ProblemSeverities.Ignore) {
        if (classScope != null) {
          javadocVisibility = Util.computeOuterMostVisibility(classScope.referenceType(), javadocVisibility);
        }
        int javadocModifiers = (this.binding.modifiers & ~ExtraCompilerModifiers.AccVisibilityMASK) | javadocVisibility;
        reporter.javadocMissing(this.sourceStart, this.sourceEnd, severity, javadocModifiers);
      }
    }
  }
}

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

public void resolveJavadoc() {
  if (this.binding == null || this.javadoc != null) {
    super.resolveJavadoc();
  } else if ((this.bits & ASTNode.IsDefaultConstructor) == 0) {
    if (this.binding.declaringClass != null && !this.binding.declaringClass.isLocalType()) {
      // Set javadoc visibility
      int javadocVisibility = this.binding.modifiers & ExtraCompilerModifiers.AccVisibilityMASK;
      ClassScope classScope = this.scope.classScope();
      ProblemReporter reporter = this.scope.problemReporter();
      int severity = reporter.computeSeverity(IProblem.JavadocMissing);
      if (severity != ProblemSeverities.Ignore) {
        if (classScope != null) {
          javadocVisibility = Util.computeOuterMostVisibility(classScope.referenceType(), javadocVisibility);
        }
        int javadocModifiers = (this.binding.modifiers & ~ExtraCompilerModifiers.AccVisibilityMASK) | javadocVisibility;
        reporter.javadocMissing(this.sourceStart, this.sourceEnd, severity, javadocModifiers);
      }
    }
  }
}
 
origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.jdt.core

public void resolveJavadoc() {
  if (this.binding == null || this.javadoc != null) {
    super.resolveJavadoc();
  } else if ((this.bits & ASTNode.IsDefaultConstructor) == 0) {
    if (this.binding.declaringClass != null && !this.binding.declaringClass.isLocalType()) {
      // Set javadoc visibility
      int javadocVisibility = this.binding.modifiers & ExtraCompilerModifiers.AccVisibilityMASK;
      ClassScope classScope = this.scope.classScope();
      ProblemReporter reporter = this.scope.problemReporter();
      int severity = reporter.computeSeverity(IProblem.JavadocMissing);
      if (severity != ProblemSeverities.Ignore) {
        if (classScope != null) {
          javadocVisibility = Util.computeOuterMostVisibility(classScope.referenceType(), javadocVisibility);
        }
        int javadocModifiers = (this.binding.modifiers & ~ExtraCompilerModifiers.AccVisibilityMASK) | javadocVisibility;
        reporter.javadocMissing(this.sourceStart, this.sourceEnd, severity, javadocModifiers);
      }
    }
  }
}

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

public void resolveJavadoc() {
  if (this.binding == null || this.javadoc != null) {
    super.resolveJavadoc();
  } else if ((this.bits & ASTNode.IsDefaultConstructor) == 0) {
    if (this.binding.declaringClass != null && !this.binding.declaringClass.isLocalType()) {
      // Set javadoc visibility
      int javadocVisibility = this.binding.modifiers & ExtraCompilerModifiers.AccVisibilityMASK;
      ClassScope classScope = this.scope.classScope();
      ProblemReporter reporter = this.scope.problemReporter();
      int severity = reporter.computeSeverity(IProblem.JavadocMissing);
      if (severity != ProblemSeverities.Ignore) {
        if (classScope != null) {
          javadocVisibility = Util.computeOuterMostVisibility(classScope.referenceType(), javadocVisibility);
        }
        int javadocModifiers = (this.binding.modifiers & ~ExtraCompilerModifiers.AccVisibilityMASK) | javadocVisibility;
        reporter.javadocMissing(this.sourceStart, this.sourceEnd, severity, javadocModifiers);
      }
    }
  }
}

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

public void resolveJavadoc() {
  if (this.binding == null || this.javadoc != null) {
    super.resolveJavadoc();
  } else if ((this.bits & ASTNode.IsDefaultConstructor) == 0) {
    if (this.binding.declaringClass != null && !this.binding.declaringClass.isLocalType()) {
      // Set javadoc visibility
      int javadocVisibility = this.binding.modifiers & ExtraCompilerModifiers.AccVisibilityMASK;
      ClassScope classScope = this.scope.classScope();
      ProblemReporter reporter = this.scope.problemReporter();
      int severity = reporter.computeSeverity(IProblem.JavadocMissing);
      if (severity != ProblemSeverities.Ignore) {
        if (classScope != null) {
          javadocVisibility = Util.computeOuterMostVisibility(classScope.referenceType(), javadocVisibility);
        }
        int javadocModifiers = (this.binding.modifiers & ~ExtraCompilerModifiers.AccVisibilityMASK) | javadocVisibility;
        reporter.javadocMissing(this.sourceStart, this.sourceEnd, severity, javadocModifiers);
      }
    }
  }
}

origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.core

public void resolveJavadoc() {
  if (this.binding == null || this.javadoc != null) {
    super.resolveJavadoc();
  } else if ((this.bits & ASTNode.IsDefaultConstructor) == 0) {
    if (this.binding.declaringClass != null && !this.binding.declaringClass.isLocalType()) {
      // Set javadoc visibility
      int javadocVisibility = this.binding.modifiers & ExtraCompilerModifiers.AccVisibilityMASK;
      ClassScope classScope = this.scope.classScope();
      ProblemReporter reporter = this.scope.problemReporter();
      int severity = reporter.computeSeverity(IProblem.JavadocMissing);
      if (severity != ProblemSeverities.Ignore) {
        if (classScope != null) {
          javadocVisibility = Util.computeOuterMostVisibility(classScope.referenceType(), javadocVisibility);
        }
        int javadocModifiers = (this.binding.modifiers & ~ExtraCompilerModifiers.AccVisibilityMASK) | javadocVisibility;
        reporter.javadocMissing(this.sourceStart, this.sourceEnd, severity, javadocModifiers);
      }
    }
  }
}

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

public void resolveJavadoc() {
  if (this.binding == null || this.javadoc != null) {
    super.resolveJavadoc();
  } else if ((this.bits & ASTNode.IsDefaultConstructor) == 0) {
    if (this.binding.declaringClass != null && !this.binding.declaringClass.isLocalType()) {
      // Set javadoc visibility
      int javadocVisibility = this.binding.modifiers & ExtraCompilerModifiers.AccVisibilityMASK;
      ClassScope classScope = this.scope.classScope();
      ProblemReporter reporter = this.scope.problemReporter();
      int severity = reporter.computeSeverity(IProblem.JavadocMissing);
      if (severity != ProblemSeverities.Ignore) {
        if (classScope != null) {
          javadocVisibility = Util.computeOuterMostVisibility(classScope.referenceType(), javadocVisibility);
        }
        int javadocModifiers = (this.binding.modifiers & ~ExtraCompilerModifiers.AccVisibilityMASK) | javadocVisibility;
        reporter.javadocMissing(this.sourceStart, this.sourceEnd, severity, javadocModifiers);
      }
    }
  }
}

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

public void resolveJavadoc() {
  if (this.binding == null || this.javadoc != null) {
    super.resolveJavadoc();
  } else if ((this.bits & ASTNode.IsDefaultConstructor) == 0) {
    if (this.binding.declaringClass != null && !this.binding.declaringClass.isLocalType()) {
      // Set javadoc visibility
      int javadocVisibility = this.binding.modifiers & ExtraCompilerModifiers.AccVisibilityMASK;
      ClassScope classScope = this.scope.classScope();
      ProblemReporter reporter = this.scope.problemReporter();
      int severity = reporter.computeSeverity(IProblem.JavadocMissing);
      if (severity != ProblemSeverities.Ignore) {
        if (classScope != null) {
          javadocVisibility = Util.computeOuterMostVisibility(classScope.referenceType(), javadocVisibility);
        }
        int javadocModifiers = (this.binding.modifiers & ~ExtraCompilerModifiers.AccVisibilityMASK) | javadocVisibility;
        reporter.javadocMissing(this.sourceStart, this.sourceEnd, severity, javadocModifiers);
      }
    }
  }
}

origin: com.ovea.tajin.server/tajin-server-tomcat7

public void resolveJavadoc() {
  if (this.binding == null || this.javadoc != null) {
    super.resolveJavadoc();
  } else if ((this.bits & ASTNode.IsDefaultConstructor) == 0) {
    if (this.binding.declaringClass != null && !this.binding.declaringClass.isLocalType()) {
      // Set javadoc visibility
      int javadocVisibility = this.binding.modifiers & ExtraCompilerModifiers.AccVisibilityMASK;
      ClassScope classScope = this.scope.classScope();
      ProblemReporter reporter = this.scope.problemReporter();
      int severity = reporter.computeSeverity(IProblem.JavadocMissing);
      if (severity != ProblemSeverities.Ignore) {
        if (classScope != null) {
          javadocVisibility = Util.computeOuterMostVisibility(classScope.referenceType(), javadocVisibility);
        }
        int javadocModifiers = (this.binding.modifiers & ~ExtraCompilerModifiers.AccVisibilityMASK) | javadocVisibility;
        reporter.javadocMissing(this.sourceStart, this.sourceEnd, severity, javadocModifiers);
      }
    }
  }
}

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

@Override
public void resolveJavadoc() {
  if (this.binding == null || this.javadoc != null) {
    super.resolveJavadoc();
  } else if ((this.bits & ASTNode.IsDefaultConstructor) == 0) {
    if (this.binding.declaringClass != null && !this.binding.declaringClass.isLocalType()) {
      // Set javadoc visibility
      int javadocVisibility = this.binding.modifiers & ExtraCompilerModifiers.AccVisibilityMASK;
      ClassScope classScope = this.scope.classScope();
      ProblemReporter reporter = this.scope.problemReporter();
      int severity = reporter.computeSeverity(IProblem.JavadocMissing);
      if (severity != ProblemSeverities.Ignore) {
        if (classScope != null) {
          javadocVisibility = Util.computeOuterMostVisibility(classScope.referenceType(), javadocVisibility);
        }
        int javadocModifiers = (this.binding.modifiers & ~ExtraCompilerModifiers.AccVisibilityMASK) | javadocVisibility;
        reporter.javadocMissing(this.sourceStart, this.sourceEnd, severity, javadocModifiers);
      }
    }
  }
}

origin: trylimits/Eclipse-Postfix-Code-Completion

public void resolveJavadoc() {
  if (this.binding == null || this.javadoc != null) {
    super.resolveJavadoc();
  } else if ((this.bits & ASTNode.IsDefaultConstructor) == 0) {
    if (this.binding.declaringClass != null && !this.binding.declaringClass.isLocalType()) {
      // Set javadoc visibility
      int javadocVisibility = this.binding.modifiers & ExtraCompilerModifiers.AccVisibilityMASK;
      ClassScope classScope = this.scope.classScope();
      ProblemReporter reporter = this.scope.problemReporter();
      int severity = reporter.computeSeverity(IProblem.JavadocMissing);
      if (severity != ProblemSeverities.Ignore) {
        if (classScope != null) {
          javadocVisibility = Util.computeOuterMostVisibility(classScope.referenceType(), javadocVisibility);
        }
        int javadocModifiers = (this.binding.modifiers & ~ExtraCompilerModifiers.AccVisibilityMASK) | javadocVisibility;
        reporter.javadocMissing(this.sourceStart, this.sourceEnd, severity, javadocModifiers);
      }
    }
  }
}

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.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.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.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.astAbstractMethodDeclarationresolveJavadoc

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

  • Finding current android device location
  • getSharedPreferences (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • scheduleAtFixedRate (ScheduledExecutorService)
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • JList (javax.swing)
  • Join (org.hibernate.mapping)
  • Top 17 Plugins for Android Studio
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