Tabnine Logo
Binder.append
Code IndexAdd Tabnine to your IDE (free)

How to use
append
method
in
com.headius.invokebinder.Binder

Best Java code snippets using com.headius.invokebinder.Binder.append (Showing top 20 results out of 315)

origin: org.jruby/jruby-complete

public MethodHandle getNormalYieldSpecificHandle() {
  MethodHandle normalYieldSpecificHandle = this.normalYieldSpecificHandle;
  if (normalYieldSpecificHandle != null) return normalYieldSpecificHandle;
  return this.normalYieldSpecificHandle = Binder.from(IRubyObject.class, ThreadContext.class, Block.class)
      .append(new Class[] {StaticScope.class, IRubyObject.class, IRubyObject[].class, Block.class},
          getStaticScope(), null, null, Block.NULL_BLOCK)
      .invoke(handle);
}
origin: com.headius/invokebinder

/**
 * Append the given argument to the argument list, assigning it the
 * given name.
 *
 * @param name  the name of the new argument
 * @param value the value of the new argument
 * @return a new SmartBinder with the append applied
 */
public SmartBinder append(String name, int value) {
  return new SmartBinder(this, signature().appendArg(name, int.class), binder.append(value));
}
origin: com.headius/invokebinder

/**
 * Append the given argument to the argument list, assigning it the
 * given name.
 *
 * @param name  the name of the new argument
 * @param value the value of the new argument
 * @return a new SmartBinder with the append applied
 */
public SmartBinder append(String name, double value) {
  return new SmartBinder(this, signature().appendArg(name, double.class), binder.append(value));
}
origin: com.headius/invokebinder

/**
 * Append the given argument to the argument list, assigning it the
 * given name.
 *
 * @param name  the name of the new argument
 * @param value the value of the new argument
 * @return a new SmartBinder with the append applied
 */
public SmartBinder append(String name, float value) {
  return new SmartBinder(this, signature().appendArg(name, float.class), binder.append(value));
}
origin: org.jruby/jruby-complete

public MethodHandle getTestBlockBody() {
  final MethodHandle testBlockBody = this.testBlockBody;
  if (testBlockBody != null) return testBlockBody;
  return this.testBlockBody = Binder.from(boolean.class, ThreadContext.class, Block.class).drop(0).append(this).invoke(TEST_BLOCK_BODY);
}
origin: org.jruby/jruby-core

public MethodHandle getNormalYieldSpecificHandle() {
  MethodHandle normalYieldSpecificHandle = this.normalYieldSpecificHandle;
  if (normalYieldSpecificHandle != null) return normalYieldSpecificHandle;
  return this.normalYieldSpecificHandle = Binder.from(IRubyObject.class, ThreadContext.class, Block.class)
      .append(new Class[] {StaticScope.class, IRubyObject.class, IRubyObject[].class, Block.class},
          getStaticScope(), null, null, Block.NULL_BLOCK)
      .invoke(handle);
}
origin: com.headius/invokebinder

/**
 * Append the given argument to the argument list, assigning it the
 * given name.
 *
 * @param name  the name of the new argument
 * @param value the value of the new argument
 * @return a new SmartBinder with the append applied
 */
public SmartBinder append(String name, byte value) {
  return new SmartBinder(this, signature().appendArg(name, byte.class), binder.append(value));
}
origin: com.headius/invokebinder

/**
 * Append the given argument to the argument list, assigning it the
 * given name.
 *
 * @param name  the name of the new argument
 * @param value the value of the new argument
 * @return a new SmartBinder with the append applied
 */
public SmartBinder append(String name, long value) {
  return new SmartBinder(this, signature().appendArg(name, long.class), binder.append(value));
}
origin: com.headius/invokebinder

/**
 * Append the given argument to the argument list, assigning it the
 * given name.
 *
 * @param name  the name of the new argument
 * @param type  the type to use in the new signature
 * @param value the value of the new argument
 * @return a new SmartBinder with the append applied
 */
public SmartBinder append(String name, Class<?> type, Object value) {
  return new SmartBinder(this, signature().appendArg(name, type), binder.append(new Class<?>[]{type}, value));
}
origin: org.jruby/jruby-core

public MethodHandle getTestBlockBody() {
  final MethodHandle testBlockBody = this.testBlockBody;
  if (testBlockBody != null) return testBlockBody;
  return this.testBlockBody = Binder.from(boolean.class, ThreadContext.class, Block.class).drop(0).append(this).invoke(TEST_BLOCK_BODY);
}
origin: com.headius/invokebinder

/**
 * Append the given argument to the argument list, assigning it the
 * given name.
 *
 * @param name  the name of the new argument
 * @param value the value of the new argument
 * @return a new SmartBinder with the append applied
 */
public SmartBinder append(String name, short value) {
  return new SmartBinder(this, signature().appendArg(name, short.class), binder.append(value));
}
origin: com.headius/invokebinder

/**
 * Append the given argument to the argument list, assigning it the
 * given name.
 *
 * @param name  the name of the new argument
 * @param value the value of the new argument
 * @return a new SmartBinder with the append applied
 */
public SmartBinder append(String name, char value) {
  return new SmartBinder(this, signature().appendArg(name, char.class), binder.append(value));
}
origin: org.jruby/jruby-complete

public static CallSite contextValueString(Lookup lookup, String name, MethodType type, String str) {
  MutableCallSite site = new MutableCallSite(type);
  site.setTarget(Binder.from(type).append(site, str).invokeStaticQuiet(lookup, Bootstrap.class, name));
  return site;
}
origin: org.jruby/jruby-core

public static CallSite contextValue(Lookup lookup, String name, MethodType type) {
  MutableCallSite site = new MutableCallSite(type);
  site.setTarget(Binder.from(type).append(site).invokeStaticQuiet(lookup, Bootstrap.class, name));
  return site;
}
origin: org.jruby/jruby-complete

public static CallSite contextValue(Lookup lookup, String name, MethodType type) {
  MutableCallSite site = new MutableCallSite(type);
  site.setTarget(Binder.from(type).append(site).invokeStaticQuiet(lookup, Bootstrap.class, name));
  return site;
}
origin: org.jruby/jruby-core

public static CallSite contextValueString(Lookup lookup, String name, MethodType type, String str) {
  MutableCallSite site = new MutableCallSite(type);
  site.setTarget(Binder.from(type).append(site, str).invokeStaticQuiet(lookup, Bootstrap.class, name));
  return site;
}
origin: org.jruby/jruby-complete

  public MethodHandle getNormalYieldUnwrapHandle() {
    MethodHandle normalYieldUnwrapHandle = this.normalYieldUnwrapHandle;
    if (normalYieldUnwrapHandle != null) return normalYieldUnwrapHandle;

    return this.normalYieldUnwrapHandle = Binder.from(IRubyObject.class, ThreadContext.class, Block.class, IRubyObject.class)
        .filter(2, VALUE_TO_ARRAY)
        .insert(2, new Class[] {StaticScope.class, IRubyObject.class}, getStaticScope(), null)
        .append(Block.class, Block.NULL_BLOCK)
        .invoke(handle);
  }
//
origin: org.jruby/jruby-core

  public MethodHandle getNormalYieldUnwrapHandle() {
    MethodHandle normalYieldUnwrapHandle = this.normalYieldUnwrapHandle;
    if (normalYieldUnwrapHandle != null) return normalYieldUnwrapHandle;

    return this.normalYieldUnwrapHandle = Binder.from(IRubyObject.class, ThreadContext.class, Block.class, IRubyObject.class)
        .filter(2, VALUE_TO_ARRAY)
        .insert(2, new Class[] {StaticScope.class, IRubyObject.class}, getStaticScope(), null)
        .append(Block.class, Block.NULL_BLOCK)
        .invoke(handle);
  }
//
origin: org.jruby/jruby-complete

public MethodHandle getNormalYieldHandle() {
  MethodHandle normalYieldHandle = this.normalYieldHandle;
  if (normalYieldHandle != null) return normalYieldHandle;
  return this.normalYieldHandle = Binder.from(IRubyObject.class, ThreadContext.class, Block.class, IRubyObject.class)
      .filter(2, WRAP_VALUE)
      .insert(2, new Class[]{StaticScope.class, IRubyObject.class}, getStaticScope(), null)
      .append(Block.class, Block.NULL_BLOCK)
      .invoke(handle);
}
origin: org.jruby/jruby-core

public MethodHandle getNormalYieldHandle() {
  MethodHandle normalYieldHandle = this.normalYieldHandle;
  if (normalYieldHandle != null) return normalYieldHandle;
  return this.normalYieldHandle = Binder.from(IRubyObject.class, ThreadContext.class, Block.class, IRubyObject.class)
      .filter(2, WRAP_VALUE)
      .insert(2, new Class[]{StaticScope.class, IRubyObject.class}, getStaticScope(), null)
      .append(Block.class, Block.NULL_BLOCK)
      .invoke(handle);
}
com.headius.invokebinderBinderappend

Javadoc

Append to the argument list the given byte value.

Popular methods of Binder

  • from
    Construct a new Binder, starting from a given MethodType.
  • insert
    Insert at the given index the given argument value(s).
  • invoke
    Apply the chain of transforms and bind them to a static method specified using the end signature plu
  • collect
    Box all incoming arguments from the given position onward into the given array type.
  • constant
    Apply the tranforms, binding them to a constant value that will propagate back through the chain. Th
  • drop
    Drop from the given index a number of arguments.
  • filter
    Filter incoming arguments, from the given index, replacing each with the result of calling the assoc
  • fold
    Process the incoming arguments using the given handle, inserting the result as the first argument.
  • invokeVirtual
    Apply the chain of transforms and bind them to a virtual method specified using the end signature pl
  • permute
    Permute the incoming arguments to a new sequence specified by the given values. Arguments may be dup
  • cast
    Cast the incoming arguments to the given MethodType. The casts applied are equivalent to those in Me
  • filterReturn
    Filter return value, using a function that produces the current return type from another type. The n
  • cast,
  • filterReturn,
  • invokeStaticQuiet,
  • invokeVirtualQuiet,
  • tryFinally,
  • nop,
  • type,
  • foldVoid,
  • identity

Popular in Java

  • Start an intent from android
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getApplicationContext (Context)
  • startActivity (Activity)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • String (java.lang)
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • 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