congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
AbstractMethodDeclaration.isConstructor
Code IndexAdd Tabnine to your IDE (free)

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

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

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

@Override
public boolean isConstructor() {
 return m_astNode.isConstructor();
}
origin: com.android.tools.lint/lint

@Override
public boolean isConstructor() {
  return mDeclaration.isConstructor();
}
origin: org.eclipse.jdt.core.compiler/ecj

public void illegalModifierForMethod(AbstractMethodDeclaration methodDecl) {
  // cannot include parameter types since they are not resolved yet
  // and the error message would be too long
  this.handle(
    methodDecl.isConstructor() ? IProblem.IllegalModifierForConstructor : IProblem.IllegalModifierForMethod,
    new String[] {
      new String(methodDecl.selector)
    },
    new String[] {
      new String(methodDecl.selector)
    },
    methodDecl.sourceStart,
    methodDecl.sourceEnd);
}
public void illegalModifierForVariable(LocalDeclaration localDecl, boolean complainAsArgument) {
origin: org.eclipse.jdt/org.eclipse.jdt.core

public void illegalModifierForMethod(AbstractMethodDeclaration methodDecl) {
  // cannot include parameter types since they are not resolved yet
  // and the error message would be too long
  this.handle(
    methodDecl.isConstructor() ? IProblem.IllegalModifierForConstructor : IProblem.IllegalModifierForMethod,
    new String[] {
      new String(methodDecl.selector)
    },
    new String[] {
      new String(methodDecl.selector)
    },
    methodDecl.sourceStart,
    methodDecl.sourceEnd);
}
public void illegalModifierForVariable(LocalDeclaration localDecl, boolean complainAsArgument) {
origin: com.vaadin/vaadin-client-compiler-deps

public void illegalModifierForMethod(AbstractMethodDeclaration methodDecl) {
  // cannot include parameter types since they are not resolved yet
  // and the error message would be too long
  this.handle(
    methodDecl.isConstructor() ? IProblem.IllegalModifierForConstructor : IProblem.IllegalModifierForMethod,
    new String[] {
      new String(methodDecl.selector)
    },
    new String[] {
      new String(methodDecl.selector)
    },
    methodDecl.sourceStart,
    methodDecl.sourceEnd);
}
public void illegalModifierForVariable(LocalDeclaration localDecl, boolean complainAsArgument) {
origin: com.google.code.maven-play-plugin.org.eclipse.jdt/org.eclipse.jdt.core

public void illegalModifierForMethod(AbstractMethodDeclaration methodDecl) {
  // cannot include parameter types since they are not resolved yet
  // and the error message would be too long
  this.handle(
    methodDecl.isConstructor() ? IProblem.IllegalModifierForConstructor : IProblem.IllegalModifierForMethod,
    new String[] {
      new String(methodDecl.selector)
    },
    new String[] {
      new String(methodDecl.selector)
    },
    methodDecl.sourceStart,
    methodDecl.sourceEnd);
}
public void illegalModifierForVariable(LocalDeclaration localDecl, boolean complainAsArgument) {
origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.jdt.core

public void illegalModifierForMethod(AbstractMethodDeclaration methodDecl) {
  // cannot include parameter types since they are not resolved yet
  // and the error message would be too long
  this.handle(
    methodDecl.isConstructor() ? IProblem.IllegalModifierForConstructor : IProblem.IllegalModifierForMethod,
    new String[] {
      new String(methodDecl.selector)
    },
    new String[] {
      new String(methodDecl.selector)
    },
    methodDecl.sourceStart,
    methodDecl.sourceEnd);
}
public void illegalModifierForVariable(LocalDeclaration localDecl, boolean complainAsArgument) {
origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.core

public void bytecodeExceeds64KLimit(AbstractMethodDeclaration location) {
  MethodBinding method = location.binding;
  if (location.isConstructor()) {
    this.handle(
      IProblem.BytecodeExceeds64KLimitForConstructor,
      new String[] {new String(location.selector), typesAsString(method, false)},
      new String[] {new String(location.selector), typesAsString(method, true)},
      ProblemSeverities.Error | ProblemSeverities.Abort | ProblemSeverities.Fatal,
      location.sourceStart,
      location.sourceEnd);
  } else {
    bytecodeExceeds64KLimit(method,    location.sourceStart, location.sourceEnd);
  }
}
public void bytecodeExceeds64KLimit(LambdaExpression location) {
origin: org.eclipse.jdt.core.compiler/ecj

public void bytecodeExceeds64KLimit(AbstractMethodDeclaration location) {
  MethodBinding method = location.binding;
  if (location.isConstructor()) {
    this.handle(
      IProblem.BytecodeExceeds64KLimitForConstructor,
      new String[] {new String(location.selector), typesAsString(method, false)},
      new String[] {new String(location.selector), typesAsString(method, true)},
      ProblemSeverities.Error | ProblemSeverities.Abort | ProblemSeverities.Fatal,
      location.sourceStart,
      location.sourceEnd);
  } else {
    bytecodeExceeds64KLimit(method,    location.sourceStart, location.sourceEnd);
  }
}
public void bytecodeExceeds64KLimit(LambdaExpression location) {
origin: org.eclipse.scout.sdk.deps/ecj

public void bytecodeExceeds64KLimit(AbstractMethodDeclaration location) {
  MethodBinding method = location.binding;
  if (location.isConstructor()) {
    this.handle(
      IProblem.BytecodeExceeds64KLimitForConstructor,
      new String[] {new String(location.selector), typesAsString(method, false)},
      new String[] {new String(location.selector), typesAsString(method, true)},
      ProblemSeverities.Error | ProblemSeverities.Abort | ProblemSeverities.Fatal,
      location.sourceStart,
      location.sourceEnd);
  } else {
    bytecodeExceeds64KLimit(method,    location.sourceStart, location.sourceEnd);
  }
}
public void bytecodeExceeds64KLimit(LambdaExpression location) {
origin: org.eclipse.scout.sdk.deps/ecj

public void resolveStatements() {
  if (this.statements != null) {
    for (int i = 0, length = this.statements.length; i < length; i++) {
      this.statements[i].resolve(this.scope);
    }
  } else if ((this.bits & UndocumentedEmptyBlock) != 0) {
    if (!this.isConstructor() || this.arguments != null) { // https://bugs.eclipse.org/bugs/show_bug.cgi?id=319626
      this.scope.problemReporter().undocumentedEmptyBlock(this.bodyStart-1, this.bodyEnd+1);
    }
  }
}
origin: org.eclipse.tycho/org.eclipse.jdt.core

public void resolveStatements() {
  if (this.statements != null) {
    for (int i = 0, length = this.statements.length; i < length; i++) {
      this.statements[i].resolve(this.scope);
    }
  } else if ((this.bits & UndocumentedEmptyBlock) != 0) {
    if (!this.isConstructor() || this.arguments != null) { // https://bugs.eclipse.org/bugs/show_bug.cgi?id=319626
      this.scope.problemReporter().undocumentedEmptyBlock(this.bodyStart-1, this.bodyEnd+1);
    }
  }
}
origin: org.eclipse.jdt.core.compiler/ecj

public void resolveStatements() {
  if (this.statements != null) {
    for (int i = 0, length = this.statements.length; i < length; i++) {
      this.statements[i].resolve(this.scope);
    }
  } else if ((this.bits & UndocumentedEmptyBlock) != 0) {
    if (!this.isConstructor() || this.arguments != null) { // https://bugs.eclipse.org/bugs/show_bug.cgi?id=319626
      this.scope.problemReporter().undocumentedEmptyBlock(this.bodyStart-1, this.bodyEnd+1);
    }
  }
}
origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.jdt.core

public void resolveStatements() {
  if (this.statements != null) {
    for (int i = 0, length = this.statements.length; i < length; i++) {
      this.statements[i].resolve(this.scope);
    }
  } else if ((this.bits & UndocumentedEmptyBlock) != 0) {
    if (!this.isConstructor() || this.arguments != null) { // https://bugs.eclipse.org/bugs/show_bug.cgi?id=319626
      this.scope.problemReporter().undocumentedEmptyBlock(this.bodyStart-1, this.bodyEnd+1);
    }
  }
}
origin: org.eclipse.jdt/org.eclipse.jdt.core

public void resolveStatements() {
  if (this.statements != null) {
    for (int i = 0, length = this.statements.length; i < length; i++) {
      this.statements[i].resolve(this.scope);
    }
  } else if ((this.bits & UndocumentedEmptyBlock) != 0) {
    if (!this.isConstructor() || this.arguments != null) { // https://bugs.eclipse.org/bugs/show_bug.cgi?id=319626
      this.scope.problemReporter().undocumentedEmptyBlock(this.bodyStart-1, this.bodyEnd+1);
    }
  }
}
origin: org.eclipse.jetty.orbit/org.eclipse.jdt.core

public void resolveStatements() {
  if (this.statements != null) {
    for (int i = 0, length = this.statements.length; i < length; i++) {
      this.statements[i].resolve(this.scope);
    }
  } else if ((this.bits & UndocumentedEmptyBlock) != 0) {
    if (!this.isConstructor() || this.arguments != null) { // https://bugs.eclipse.org/bugs/show_bug.cgi?id=319626
      this.scope.problemReporter().undocumentedEmptyBlock(this.bodyStart-1, this.bodyEnd+1);
    }
  }
}
origin: com.google.code.maven-play-plugin.org.eclipse.jdt/org.eclipse.jdt.core

public void resolveStatements() {
  if (this.statements != null) {
    for (int i = 0, length = this.statements.length; i < length; i++) {
      this.statements[i].resolve(this.scope);
    }
  } else if ((this.bits & UndocumentedEmptyBlock) != 0) {
    if (!this.isConstructor() || this.arguments != null) { // https://bugs.eclipse.org/bugs/show_bug.cgi?id=319626
      this.scope.problemReporter().undocumentedEmptyBlock(this.bodyStart-1, this.bodyEnd+1);
    }
  }
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.core

public void resolveStatements() {
  if (this.statements != null) {
    for (int i = 0, length = this.statements.length; i < length; i++) {
      this.statements[i].resolve(this.scope);
    }
  } else if ((this.bits & UndocumentedEmptyBlock) != 0) {
    if (!this.isConstructor() || this.arguments != null) { // https://bugs.eclipse.org/bugs/show_bug.cgi?id=319626
      this.scope.problemReporter().undocumentedEmptyBlock(this.bodyStart-1, this.bodyEnd+1);
    }
  }
}
origin: com.vaadin/vaadin-client-compiler-deps

public void resolveStatements() {
  if (this.statements != null) {
    for (int i = 0, length = this.statements.length; i < length; i++) {
      this.statements[i].resolve(this.scope);
    }
  } else if ((this.bits & UndocumentedEmptyBlock) != 0) {
    if (!this.isConstructor() || this.arguments != null) { // https://bugs.eclipse.org/bugs/show_bug.cgi?id=319626
      this.scope.problemReporter().undocumentedEmptyBlock(this.bodyStart-1, this.bodyEnd+1);
    }
  }
}
origin: trylimits/Eclipse-Postfix-Code-Completion

public void resolveStatements() {
  if (this.statements != null) {
    for (int i = 0, length = this.statements.length; i < length; i++) {
      this.statements[i].resolve(this.scope);
    }
  } else if ((this.bits & UndocumentedEmptyBlock) != 0) {
    if (!this.isConstructor() || this.arguments != null) { // https://bugs.eclipse.org/bugs/show_bug.cgi?id=319626
      this.scope.problemReporter().undocumentedEmptyBlock(this.bodyStart-1, this.bodyEnd+1);
    }
  }
}
org.eclipse.jdt.internal.compiler.astAbstractMethodDeclarationisConstructor

Popular methods of AbstractMethodDeclaration

  • 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
  • isDefaultConstructor
  • isAnnotationMethod,
  • isDefaultConstructor,
  • isInitializationMethod,
  • isMethod,
  • isStatic,
  • parseStatements,
  • print,
  • printAnnotations,
  • printBody

Popular in Java

  • Parsing JSON documents to java classes using gson
  • findViewById (Activity)
  • getContentResolver (Context)
  • setContentView (Activity)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • CodeWhisperer alternatives
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