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

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

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

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

/**
 * When a method is accessed via SourceTypeBinding.resolveTypesFor(MethodBinding)
 * we create the argument binding and resolve annotations in order to compute null annotation tagbits.
 */
public void createArgumentBindings() {
  createArgumentBindings(this.arguments, this.binding, this.scope);
}
// version for invocation from LambdaExpression:
origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.core

/**
 * When a method is accessed via SourceTypeBinding.resolveTypesFor(MethodBinding)
 * we create the argument binding and resolve annotations in order to compute null annotation tagbits.
 */
public void createArgumentBindings() {
  createArgumentBindings(this.arguments, this.binding, this.scope);
}
// version for invocation from LambdaExpression:
origin: org.eclipse.tycho/org.eclipse.jdt.core

/**
 * When a method is accessed via SourceTypeBinding.resolveTypesFor(MethodBinding)
 * we create the argument binding and resolve annotations in order to compute null annotation tagbits.
 */
public void createArgumentBindings() {
  createArgumentBindings(this.arguments, this.binding, this.scope);
}
// version for invocation from LambdaExpression:
origin: org.eclipse.scout.sdk.deps/ecj

/**
 * When a method is accessed via SourceTypeBinding.resolveTypesFor(MethodBinding)
 * we create the argument binding and resolve annotations in order to compute null annotation tagbits.
 */
public void createArgumentBindings() {
  createArgumentBindings(this.arguments, this.binding, this.scope);
}
// version for invocation from LambdaExpression:
origin: com.vaadin/vaadin-client-compiler-deps

/**
 * When a method is accessed via SourceTypeBinding.resolveTypesFor(MethodBinding)
 * we create the argument binding and resolve annotations in order to compute null annotation tagbits.
 */
public void createArgumentBindings() {
  createArgumentBindings(this.arguments, this.binding, this.scope);
}
// version for invocation from LambdaExpression:
origin: trylimits/Eclipse-Postfix-Code-Completion

/**
 * When a method is accessed via SourceTypeBinding.resolveTypesFor(MethodBinding)
 * we create the argument binding and resolve annotations in order to compute null annotation tagbits.
 */
public void createArgumentBindings() {
  createArgumentBindings(this.arguments, this.binding, this.scope);
}
// version for invocation from LambdaExpression:
origin: org.eclipse.jdt/org.eclipse.jdt.core

/**
 * When a method is accessed via SourceTypeBinding.resolveTypesFor(MethodBinding)
 * we create the argument binding and resolve annotations in order to compute null annotation tagbits.
 */
public void createArgumentBindings() {
  createArgumentBindings(this.arguments, this.binding, this.scope);
}
// version for invocation from LambdaExpression:
origin: com.google.code.maven-play-plugin.org.eclipse.jdt/org.eclipse.jdt.core

/**
 * When a method is accessed via SourceTypeBinding.resolveTypesFor(MethodBinding)
 * we create the argument binding and resolve annotations in order to compute null annotation tagbits.
 */
public void createArgumentBindings() {
  createArgumentBindings(this.arguments, this.binding, this.scope);
}
// version for invocation from LambdaExpression:
origin: org.eclipse.jdt.core.compiler/ecj

private void createArgumentBindings(MethodBinding method, CompilerOptions compilerOptions) {
  
  if (!isPrototype()) throw new IllegalStateException();
  if (compilerOptions.isAnnotationBasedNullAnalysisEnabled)
    getNullDefault(); // ensure initialized
  AbstractMethodDeclaration methodDecl = method.sourceMethod();
  if (methodDecl != null) {
    // while creating argument bindings we also collect explicit null annotations:
    if (method.parameters != Binding.NO_PARAMETERS)
      methodDecl.createArgumentBindings();
    // add implicit annotations (inherited(?) & default):
    if (compilerOptions.isAnnotationBasedNullAnalysisEnabled) {
      new ImplicitNullAnnotationVerifier(this.scope.environment()).checkImplicitNullAnnotations(method, methodDecl, true, this.scope);
    }
  }
}
 
origin: org.eclipse.jdt/org.eclipse.jdt.core

private void createArgumentBindings(MethodBinding method, CompilerOptions compilerOptions) {
  
  if (!isPrototype()) throw new IllegalStateException();
  if (compilerOptions.isAnnotationBasedNullAnalysisEnabled)
    getNullDefault(); // ensure initialized
  AbstractMethodDeclaration methodDecl = method.sourceMethod();
  if (methodDecl != null) {
    // while creating argument bindings we also collect explicit null annotations:
    if (method.parameters != Binding.NO_PARAMETERS)
      methodDecl.createArgumentBindings();
    // add implicit annotations (inherited(?) & default):
    if (compilerOptions.isAnnotationBasedNullAnalysisEnabled) {
      new ImplicitNullAnnotationVerifier(this.scope.environment()).checkImplicitNullAnnotations(method, methodDecl, true, this.scope);
    }
  }
}

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

private void createArgumentBindings(MethodBinding method, CompilerOptions compilerOptions) {
  
  if (!isPrototype()) throw new IllegalStateException();
  if (compilerOptions.isAnnotationBasedNullAnalysisEnabled)
    getNullDefault(); // ensure initialized
  AbstractMethodDeclaration methodDecl = method.sourceMethod();
  if (methodDecl != null) {
    // while creating argument bindings we also collect explicit null annotations:
    if (method.parameters != Binding.NO_PARAMETERS)
      methodDecl.createArgumentBindings();
    // add implicit annotations (inherited(?) & default):
    if (compilerOptions.isAnnotationBasedNullAnalysisEnabled) {
      new ImplicitNullAnnotationVerifier(this.scope.environment()).checkImplicitNullAnnotations(method, methodDecl, true, this.scope);
    }
  }
}

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

private void createArgumentBindings(MethodBinding method, CompilerOptions compilerOptions) {
  
  if (!isPrototype()) throw new IllegalStateException();
  if (compilerOptions.isAnnotationBasedNullAnalysisEnabled)
    getNullDefault(); // ensure initialized
  AbstractMethodDeclaration methodDecl = method.sourceMethod();
  if (methodDecl != null) {
    // while creating argument bindings we also collect explicit null annotations:
    if (method.parameters != Binding.NO_PARAMETERS)
      methodDecl.createArgumentBindings();
    // add implicit annotations (inherited(?) & default):
    if (compilerOptions.isAnnotationBasedNullAnalysisEnabled) {
      new ImplicitNullAnnotationVerifier(this.scope.environment()).checkImplicitNullAnnotations(method, methodDecl, true, this.scope);
    }
  }
}
 
origin: com.google.code.maven-play-plugin.org.eclipse.jdt/org.eclipse.jdt.core

private void createArgumentBindings(MethodBinding method, CompilerOptions compilerOptions) {
  
  if (!isPrototype()) throw new IllegalStateException();
  if (compilerOptions.isAnnotationBasedNullAnalysisEnabled)
    getNullDefault(); // ensure initialized
  AbstractMethodDeclaration methodDecl = method.sourceMethod();
  if (methodDecl != null) {
    // while creating argument bindings we also collect explicit null annotations:
    if (method.parameters != Binding.NO_PARAMETERS)
      methodDecl.createArgumentBindings();
    // add implicit annotations (inherited(?) & default):
    if (compilerOptions.isAnnotationBasedNullAnalysisEnabled) {
      new ImplicitNullAnnotationVerifier(this.scope.environment()).checkImplicitNullAnnotations(method, methodDecl, true, this.scope);
    }
  }
}
 
origin: org.eclipse.scout.sdk.deps/ecj

private void createArgumentBindings(MethodBinding method, CompilerOptions compilerOptions) {
  
  if (!isPrototype()) throw new IllegalStateException();
  if (compilerOptions.isAnnotationBasedNullAnalysisEnabled)
    getNullDefault(); // ensure initialized
  AbstractMethodDeclaration methodDecl = method.sourceMethod();
  if (methodDecl != null) {
    // while creating argument bindings we also collect explicit null annotations:
    if (method.parameters != Binding.NO_PARAMETERS)
      methodDecl.createArgumentBindings();
    // add implicit annotations (inherited(?) & default):
    if (compilerOptions.isAnnotationBasedNullAnalysisEnabled) {
      new ImplicitNullAnnotationVerifier(this.scope.environment()).checkImplicitNullAnnotations(method, methodDecl, true, this.scope);
    }
  }
}
 
origin: trylimits/Eclipse-Postfix-Code-Completion

private void createArgumentBindings(MethodBinding method, CompilerOptions compilerOptions) {
  
  if (!isPrototype()) throw new IllegalStateException();
  if (compilerOptions.isAnnotationBasedNullAnalysisEnabled)
    getNullDefault(); // ensure initialized
  AbstractMethodDeclaration methodDecl = method.sourceMethod();
  if (methodDecl != null) {
    // while creating argument bindings we also collect explicit null annotations:
    if (method.parameters != Binding.NO_PARAMETERS)
      methodDecl.createArgumentBindings();
    // add implicit annotations (inherited(?) & default):
    if (compilerOptions.isAnnotationBasedNullAnalysisEnabled) {
      new ImplicitNullAnnotationVerifier(this.scope.environment()).checkImplicitNullAnnotations(method, methodDecl, true, this.scope);
    }
  }
}

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

private void createArgumentBindings(MethodBinding method, CompilerOptions compilerOptions) {
  
  if (!isPrototype()) throw new IllegalStateException();
  if (compilerOptions.isAnnotationBasedNullAnalysisEnabled)
    getNullDefault(); // ensure initialized
  AbstractMethodDeclaration methodDecl = method.sourceMethod();
  if (methodDecl != null) {
    // while creating argument bindings we also collect explicit null annotations:
    if (method.parameters != Binding.NO_PARAMETERS)
      methodDecl.createArgumentBindings();
    // add implicit annotations (inherited(?) & default):
    if (compilerOptions.isAnnotationBasedNullAnalysisEnabled) {
      new ImplicitNullAnnotationVerifier(this.scope.environment()).checkImplicitNullAnnotations(method, methodDecl, true, this.scope);
    }
  }
}

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

private void createArgumentBindings(MethodBinding method) {
  // ensure nullness defaults are initialized at all enclosing levels:
  switch (this.nullnessDefaultInitialized) {
  case 0:
    getAnnotationTagBits(); // initialize
    //$FALL-THROUGH$
  case 1:
    getPackage().isViewedAsDeprecated(); // initialize annotations
    this.nullnessDefaultInitialized = 2;
  }
  AbstractMethodDeclaration methodDecl = method.sourceMethod();
  if (methodDecl != null) {
    if (method.parameters != Binding.NO_PARAMETERS)
      methodDecl.createArgumentBindings();
    if ((findNonNullDefault(methodDecl.scope, methodDecl.scope.environment()) == NONNULL_BY_DEFAULT)) {
      method.fillInDefaultNonNullness();
    }
  }
}
private void evaluateNullAnnotations(long annotationTagBits) {
origin: trylimits/Eclipse-Postfix-Code-Completion

AbstractMethodDeclaration.createArgumentBindings(this.arguments, this.binding, this.scope);
validateNullAnnotations();
origin: org.eclipse.jdt.core.compiler/ecj

AbstractMethodDeclaration.createArgumentBindings(this.arguments, this.binding, this.scope); // includes validation
origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.core

AbstractMethodDeclaration.createArgumentBindings(this.arguments, this.binding, this.scope); // includes validation
org.eclipse.jdt.internal.compiler.astAbstractMethodDeclarationcreateArgumentBindings

Javadoc

When a method is accessed via SourceTypeBinding.resolveTypesFor(MethodBinding) we create the argument binding and resolve annotations in order to compute null annotation tagbits.

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
  • putExtra (Intent)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • setScale (BigDecimal)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Top Sublime Text 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