congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
AbstractMethodDeclaration.isClinit
Code IndexAdd Tabnine to your IDE (free)

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

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

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

  public static boolean containsIgnoredBody(AbstractMethodDeclaration method){
    return !method.isDefaultConstructor()
      && !method.isClinit()
      && (method.modifiers & ExtraCompilerModifiers.AccSemicolonBody) == 0;
  }
}
origin: org.eclipse.jdt/org.eclipse.jdt.core

  public static boolean containsIgnoredBody(AbstractMethodDeclaration method){
    return !method.isDefaultConstructor()
      && !method.isClinit()
      && (method.modifiers & ExtraCompilerModifiers.AccSemicolonBody) == 0;
  }
}
origin: org.eclipse.tycho/org.eclipse.jdt.core

  public static boolean containsIgnoredBody(AbstractMethodDeclaration method){
    return !method.isDefaultConstructor()
      && !method.isClinit()
      && (method.modifiers & ExtraCompilerModifiers.AccSemicolonBody) == 0;
  }
}
origin: com.vaadin/vaadin-client-compiler-deps

  public static boolean containsIgnoredBody(AbstractMethodDeclaration method){
    return !method.isDefaultConstructor()
      && !method.isClinit()
      && (method.modifiers & ExtraCompilerModifiers.AccSemicolonBody) == 0;
  }
}
origin: com.google.code.maven-play-plugin.org.eclipse.jdt/org.eclipse.jdt.core

  public static boolean containsIgnoredBody(AbstractMethodDeclaration method){
    return !method.isDefaultConstructor()
      && !method.isClinit()
      && (method.modifiers & ExtraCompilerModifiers.AccSemicolonBody) == 0;
  }
}
origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.jdt.core

  public static boolean containsIgnoredBody(AbstractMethodDeclaration method){
    return !method.isDefaultConstructor()
      && !method.isClinit()
      && (method.modifiers & ExtraCompilerModifiers.AccSemicolonBody) == 0;
  }
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.core

  public static boolean containsIgnoredBody(AbstractMethodDeclaration method){
    return !method.isDefaultConstructor()
      && !method.isClinit()
      && (method.modifiers & ExtraCompilerModifiers.AccSemicolonBody) == 0;
  }
}
origin: org.eclipse.scout.sdk.deps/ecj

  public static boolean containsIgnoredBody(AbstractMethodDeclaration method){
    return !method.isDefaultConstructor()
      && !method.isClinit()
      && (method.modifiers & ExtraCompilerModifiers.AccSemicolonBody) == 0;
  }
}
origin: org.eclipse.jetty.orbit/org.eclipse.jdt.core

  public static boolean containsIgnoredBody(AbstractMethodDeclaration method){
    return !method.isDefaultConstructor()
      && !method.isClinit()
      && (method.modifiers & ExtraCompilerModifiers.AccSemicolonBody) == 0;
  }
}
origin: trylimits/Eclipse-Postfix-Code-Completion

  public static boolean containsIgnoredBody(AbstractMethodDeclaration method){
    return !method.isDefaultConstructor()
      && !method.isClinit()
      && (method.modifiers & ExtraCompilerModifiers.AccSemicolonBody) == 0;
  }
}
origin: com.ovea.tajin.server/tajin-server-tomcat7

  public static boolean containsIgnoredBody(AbstractMethodDeclaration method){
    return !method.isDefaultConstructor()
      && !method.isClinit()
      && (method.modifiers & ExtraCompilerModifiers.AccSemicolonBody) == 0;
  }
}
origin: org.eclipse.jdt.core.compiler/ecj

public void manageSyntheticAccessIfNecessary(BlockScope currentScope, FlowInfo flowInfo) {
  if ((flowInfo.tagBits & FlowInfo.UNREACHABLE_OR_DEAD) == 0) {
    // need assertion flag: $assertionsDisabled on outer most source clas
    // (in case of static member of interface, will use the outermost static member - bug 22334)
    SourceTypeBinding outerMostClass = currentScope.enclosingSourceType();
    while (outerMostClass.isLocalType()) {
      ReferenceBinding enclosing = outerMostClass.enclosingType();
      if (enclosing == null || enclosing.isInterface()) break;
      outerMostClass = (SourceTypeBinding) enclosing;
    }
    this.assertionSyntheticFieldBinding = outerMostClass.addSyntheticFieldForAssert(currentScope);

    // find <clinit> and enable assertion support
    TypeDeclaration typeDeclaration = outerMostClass.scope.referenceType();
    AbstractMethodDeclaration[] methods = typeDeclaration.methods;
    for (int i = 0, max = methods.length; i < max; i++) {
      AbstractMethodDeclaration method = methods[i];
      if (method.isClinit()) {
        ((Clinit) method).setAssertionSupport(this.assertionSyntheticFieldBinding, currentScope.compilerOptions().sourceLevel < ClassFileConstants.JDK1_5);
        break;
      }
    }
  }
}

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

public void manageSyntheticAccessIfNecessary(BlockScope currentScope, FlowInfo flowInfo) {
  if ((flowInfo.tagBits & FlowInfo.UNREACHABLE_OR_DEAD) == 0) {
    // need assertion flag: $assertionsDisabled on outer most source clas
    // (in case of static member of interface, will use the outermost static member - bug 22334)
    SourceTypeBinding outerMostClass = currentScope.enclosingSourceType();
    while (outerMostClass.isLocalType()) {
      ReferenceBinding enclosing = outerMostClass.enclosingType();
      if (enclosing == null || enclosing.isInterface()) break;
      outerMostClass = (SourceTypeBinding) enclosing;
    }
    this.assertionSyntheticFieldBinding = outerMostClass.addSyntheticFieldForAssert(currentScope);

    // find <clinit> and enable assertion support
    TypeDeclaration typeDeclaration = outerMostClass.scope.referenceType();
    AbstractMethodDeclaration[] methods = typeDeclaration.methods;
    for (int i = 0, max = methods.length; i < max; i++) {
      AbstractMethodDeclaration method = methods[i];
      if (method.isClinit()) {
        ((Clinit) method).setAssertionSupport(this.assertionSyntheticFieldBinding, currentScope.compilerOptions().sourceLevel < ClassFileConstants.JDK1_5);
        break;
      }
    }
  }
}

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

public void manageSyntheticAccessIfNecessary(BlockScope currentScope, FlowInfo flowInfo) {
  if ((flowInfo.tagBits & FlowInfo.UNREACHABLE_OR_DEAD) == 0) {
    // need assertion flag: $assertionsDisabled on outer most source clas
    // (in case of static member of interface, will use the outermost static member - bug 22334)
    SourceTypeBinding outerMostClass = currentScope.enclosingSourceType();
    while (outerMostClass.isLocalType()) {
      ReferenceBinding enclosing = outerMostClass.enclosingType();
      if (enclosing == null || enclosing.isInterface()) break;
      outerMostClass = (SourceTypeBinding) enclosing;
    }
    this.assertionSyntheticFieldBinding = outerMostClass.addSyntheticFieldForAssert(currentScope);

    // find <clinit> and enable assertion support
    TypeDeclaration typeDeclaration = outerMostClass.scope.referenceType();
    AbstractMethodDeclaration[] methods = typeDeclaration.methods;
    for (int i = 0, max = methods.length; i < max; i++) {
      AbstractMethodDeclaration method = methods[i];
      if (method.isClinit()) {
        ((Clinit) method).setAssertionSupport(this.assertionSyntheticFieldBinding, currentScope.compilerOptions().sourceLevel < ClassFileConstants.JDK1_5);
        break;
      }
    }
  }
}

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

public void manageSyntheticAccessIfNecessary(BlockScope currentScope, FlowInfo flowInfo) {
  if ((flowInfo.tagBits & FlowInfo.UNREACHABLE) == 0) {
    // need assertion flag: $assertionsDisabled on outer most source clas
    // (in case of static member of interface, will use the outermost static member - bug 22334)
    SourceTypeBinding outerMostClass = currentScope.enclosingSourceType();
    while (outerMostClass.isLocalType()) {
      ReferenceBinding enclosing = outerMostClass.enclosingType();
      if (enclosing == null || enclosing.isInterface()) break;
      outerMostClass = (SourceTypeBinding) enclosing;
    }
    this.assertionSyntheticFieldBinding = outerMostClass.addSyntheticFieldForAssert(currentScope);

    // find <clinit> and enable assertion support
    TypeDeclaration typeDeclaration = outerMostClass.scope.referenceType();
    AbstractMethodDeclaration[] methods = typeDeclaration.methods;
    for (int i = 0, max = methods.length; i < max; i++) {
      AbstractMethodDeclaration method = methods[i];
      if (method.isClinit()) {
        ((Clinit) method).setAssertionSupport(this.assertionSyntheticFieldBinding, currentScope.compilerOptions().sourceLevel < ClassFileConstants.JDK1_5);
        break;
      }
    }
  }
}

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

public void manageSyntheticAccessIfNecessary(BlockScope currentScope, FlowInfo flowInfo) {
  if ((flowInfo.tagBits & FlowInfo.UNREACHABLE_OR_DEAD) == 0) {
    // need assertion flag: $assertionsDisabled on outer most source clas
    // (in case of static member of interface, will use the outermost static member - bug 22334)
    SourceTypeBinding outerMostClass = currentScope.enclosingSourceType();
    while (outerMostClass.isLocalType()) {
      ReferenceBinding enclosing = outerMostClass.enclosingType();
      if (enclosing == null || enclosing.isInterface()) break;
      outerMostClass = (SourceTypeBinding) enclosing;
    }
    this.assertionSyntheticFieldBinding = outerMostClass.addSyntheticFieldForAssert(currentScope);

    // find <clinit> and enable assertion support
    TypeDeclaration typeDeclaration = outerMostClass.scope.referenceType();
    AbstractMethodDeclaration[] methods = typeDeclaration.methods;
    for (int i = 0, max = methods.length; i < max; i++) {
      AbstractMethodDeclaration method = methods[i];
      if (method.isClinit()) {
        ((Clinit) method).setAssertionSupport(this.assertionSyntheticFieldBinding, currentScope.compilerOptions().sourceLevel < ClassFileConstants.JDK1_5);
        break;
      }
    }
  }
}

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

public void manageSyntheticAccessIfNecessary(BlockScope currentScope, FlowInfo flowInfo) {
  if ((flowInfo.tagBits & FlowInfo.UNREACHABLE_OR_DEAD) == 0) {
    // need assertion flag: $assertionsDisabled on outer most source clas
    // (in case of static member of interface, will use the outermost static member - bug 22334)
    SourceTypeBinding outerMostClass = currentScope.enclosingSourceType();
    while (outerMostClass.isLocalType()) {
      ReferenceBinding enclosing = outerMostClass.enclosingType();
      if (enclosing == null || enclosing.isInterface()) break;
      outerMostClass = (SourceTypeBinding) enclosing;
    }
    this.assertionSyntheticFieldBinding = outerMostClass.addSyntheticFieldForAssert(currentScope);

    // find <clinit> and enable assertion support
    TypeDeclaration typeDeclaration = outerMostClass.scope.referenceType();
    AbstractMethodDeclaration[] methods = typeDeclaration.methods;
    for (int i = 0, max = methods.length; i < max; i++) {
      AbstractMethodDeclaration method = methods[i];
      if (method.isClinit()) {
        ((Clinit) method).setAssertionSupport(this.assertionSyntheticFieldBinding, currentScope.compilerOptions().sourceLevel < ClassFileConstants.JDK1_5);
        break;
      }
    }
  }
}

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

public void manageSyntheticAccessIfNecessary(BlockScope currentScope, FlowInfo flowInfo) {
  if ((flowInfo.tagBits & FlowInfo.UNREACHABLE_OR_DEAD) == 0) {
    // need assertion flag: $assertionsDisabled on outer most source clas
    // (in case of static member of interface, will use the outermost static member - bug 22334)
    SourceTypeBinding outerMostClass = currentScope.enclosingSourceType();
    while (outerMostClass.isLocalType()) {
      ReferenceBinding enclosing = outerMostClass.enclosingType();
      if (enclosing == null || enclosing.isInterface()) break;
      outerMostClass = (SourceTypeBinding) enclosing;
    }
    this.assertionSyntheticFieldBinding = outerMostClass.addSyntheticFieldForAssert(currentScope);

    // find <clinit> and enable assertion support
    TypeDeclaration typeDeclaration = outerMostClass.scope.referenceType();
    AbstractMethodDeclaration[] methods = typeDeclaration.methods;
    for (int i = 0, max = methods.length; i < max; i++) {
      AbstractMethodDeclaration method = methods[i];
      if (method.isClinit()) {
        ((Clinit) method).setAssertionSupport(this.assertionSyntheticFieldBinding, currentScope.compilerOptions().sourceLevel < ClassFileConstants.JDK1_5);
        break;
      }
    }
  }
}

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

public void manageSyntheticAccessIfNecessary(BlockScope currentScope, FlowInfo flowInfo) {
  if ((flowInfo.tagBits & FlowInfo.UNREACHABLE_OR_DEAD) == 0) {
    // need assertion flag: $assertionsDisabled on outer most source clas
    // (in case of static member of interface, will use the outermost static member - bug 22334)
    SourceTypeBinding outerMostClass = currentScope.enclosingSourceType();
    while (outerMostClass.isLocalType()) {
      ReferenceBinding enclosing = outerMostClass.enclosingType();
      if (enclosing == null || enclosing.isInterface()) break;
      outerMostClass = (SourceTypeBinding) enclosing;
    }
    this.assertionSyntheticFieldBinding = outerMostClass.addSyntheticFieldForAssert(currentScope);

    // find <clinit> and enable assertion support
    TypeDeclaration typeDeclaration = outerMostClass.scope.referenceType();
    AbstractMethodDeclaration[] methods = typeDeclaration.methods;
    for (int i = 0, max = methods.length; i < max; i++) {
      AbstractMethodDeclaration method = methods[i];
      if (method.isClinit()) {
        ((Clinit) method).setAssertionSupport(this.assertionSyntheticFieldBinding, currentScope.compilerOptions().sourceLevel < ClassFileConstants.JDK1_5);
        break;
      }
    }
  }
}

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

public void manageSyntheticAccessIfNecessary(BlockScope currentScope, FlowInfo flowInfo) {
  if ((flowInfo.tagBits & FlowInfo.UNREACHABLE_OR_DEAD) == 0) {
    // need assertion flag: $assertionsDisabled on outer most source clas
    // (in case of static member of interface, will use the outermost static member - bug 22334)
    SourceTypeBinding outerMostClass = currentScope.enclosingSourceType();
    while (outerMostClass.isLocalType()) {
      ReferenceBinding enclosing = outerMostClass.enclosingType();
      if (enclosing == null || enclosing.isInterface()) break;
      outerMostClass = (SourceTypeBinding) enclosing;
    }
    this.assertionSyntheticFieldBinding = outerMostClass.addSyntheticFieldForAssert(currentScope);

    // find <clinit> and enable assertion support
    TypeDeclaration typeDeclaration = outerMostClass.scope.referenceType();
    AbstractMethodDeclaration[] methods = typeDeclaration.methods;
    for (int i = 0, max = methods.length; i < max; i++) {
      AbstractMethodDeclaration method = methods[i];
      if (method.isClinit()) {
        ((Clinit) method).setAssertionSupport(this.assertionSyntheticFieldBinding, currentScope.compilerOptions().sourceLevel < ClassFileConstants.JDK1_5);
        break;
      }
    }
  }
}
 
org.eclipse.jdt.internal.compiler.astAbstractMethodDeclarationisClinit

Popular methods of AbstractMethodDeclaration

  • isConstructor
  • typeParameters
  • traverse
  • isAbstract
  • 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

  • Making http requests using okhttp
  • findViewById (Activity)
  • getApplicationContext (Context)
  • getSharedPreferences (Context)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Top plugins for WebStorm
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