Tabnine Logo
ClassWriter.newInvokeDynamicItem
Code IndexAdd Tabnine to your IDE (free)

How to use
newInvokeDynamicItem
method
in
jersey.repackaged.org.objectweb.asm.ClassWriter

Best Java code snippets using jersey.repackaged.org.objectweb.asm.ClassWriter.newInvokeDynamicItem (Showing top 14 results out of 315)

origin: com.sun.jersey/jersey-server

/**
 * Adds an invokedynamic reference to the constant pool of the class being
 * build. Does nothing if the constant pool already contains a similar item.
 * <i>This method is intended for {@link Attribute} sub classes, and is
 * normally not needed by class generators or adapters.</i>
 *
 * @param name
 *            name of the invoked method.
 * @param desc
 *            descriptor of the invoke method.
 * @param bsm
 *            the bootstrap method.
 * @param bsmArgs
 *            the bootstrap method constant arguments.
 *
 * @return the index of a new or already existing invokedynamic reference
 *         item.
 */
public int newInvokeDynamic(final String name, final String desc,
    final Handle bsm, final Object... bsmArgs) {
  return newInvokeDynamicItem(name, desc, bsm, bsmArgs).index;
}
origin: com.sun.jersey/jersey-server

  final Handle bsm, final Object... bsmArgs) {
lastCodeOffset = code.length;
Item i = cw.newInvokeDynamicItem(name, desc, bsm, bsmArgs);
int argSize = i.intVal;
origin: org.glassfish.jersey.core/jersey-server

/**
 * Adds an invokedynamic reference to the constant pool of the class being
 * build. Does nothing if the constant pool already contains a similar item.
 * <i>This method is intended for {@link Attribute} sub classes, and is
 * normally not needed by class generators or adapters.</i>
 *
 * @param name
 *            name of the invoked method.
 * @param desc
 *            descriptor of the invoke method.
 * @param bsm
 *            the bootstrap method.
 * @param bsmArgs
 *            the bootstrap method constant arguments.
 *
 * @return the index of a new or already existing invokedynamic reference
 *         item.
 */
public int newInvokeDynamic(final String name, final String desc,
              final Handle bsm, final Object... bsmArgs) {
  return newInvokeDynamicItem(name, desc, bsm, bsmArgs).index;
}
origin: org.glassfish.jersey.core/jersey-server

                final Handle bsm, final Object... bsmArgs) {
lastCodeOffset = code.length;
Item i = cw.newInvokeDynamicItem(name, desc, bsm, bsmArgs);
int argSize = i.intVal;
origin: org.glassfish.jersey.bundles/jaxrs-ri

/**
 * Adds an invokedynamic reference to the constant pool of the class being
 * build. Does nothing if the constant pool already contains a similar item.
 * <i>This method is intended for {@link Attribute} sub classes, and is
 * normally not needed by class generators or adapters.</i>
 *
 * @param name
 *            name of the invoked method.
 * @param desc
 *            descriptor of the invoke method.
 * @param bsm
 *            the bootstrap method.
 * @param bsmArgs
 *            the bootstrap method constant arguments.
 *
 * @return the index of a new or already existing invokedynamic reference
 *         item.
 */
public int newInvokeDynamic(final String name, final String desc,
              final Handle bsm, final Object... bsmArgs) {
  return newInvokeDynamicItem(name, desc, bsm, bsmArgs).index;
}
origin: jersey/jersey-1.x

/**
 * Adds an invokedynamic reference to the constant pool of the class being
 * build. Does nothing if the constant pool already contains a similar item.
 * <i>This method is intended for {@link Attribute} sub classes, and is
 * normally not needed by class generators or adapters.</i>
 *
 * @param name
 *            name of the invoked method.
 * @param desc
 *            descriptor of the invoke method.
 * @param bsm
 *            the bootstrap method.
 * @param bsmArgs
 *            the bootstrap method constant arguments.
 *
 * @return the index of a new or already existing invokedynamic reference
 *         item.
 */
public int newInvokeDynamic(final String name, final String desc,
    final Handle bsm, final Object... bsmArgs) {
  return newInvokeDynamicItem(name, desc, bsm, bsmArgs).index;
}
origin: eclipse-ee4j/jersey

/**
 * Adds an invokedynamic reference to the constant pool of the class being
 * build. Does nothing if the constant pool already contains a similar item.
 * <i>This method is intended for {@link Attribute} sub classes, and is
 * normally not needed by class generators or adapters.</i>
 *
 * @param name
 *            name of the invoked method.
 * @param desc
 *            descriptor of the invoke method.
 * @param bsm
 *            the bootstrap method.
 * @param bsmArgs
 *            the bootstrap method constant arguments.
 *
 * @return the index of a new or already existing invokedynamic reference
 *         item.
 */
public int newInvokeDynamic(final String name, final String desc,
              final Handle bsm, final Object... bsmArgs) {
  return newInvokeDynamicItem(name, desc, bsm, bsmArgs).index;
}
origin: eclipse-ee4j/jersey

/**
 * Adds an invokedynamic reference to the constant pool of the class being
 * build. Does nothing if the constant pool already contains a similar item.
 * <i>This method is intended for {@link Attribute} sub classes, and is
 * normally not needed by class generators or adapters.</i>
 *
 * @param name
 *            name of the invoked method.
 * @param desc
 *            descriptor of the invoke method.
 * @param bsm
 *            the bootstrap method.
 * @param bsmArgs
 *            the bootstrap method constant arguments.
 *
 * @return the index of a new or already existing invokedynamic reference
 *         item.
 */
public int newInvokeDynamic(final String name, final String desc,
              final Handle bsm, final Object... bsmArgs) {
  return newInvokeDynamicItem(name, desc, bsm, bsmArgs).index;
}
origin: com.sun.jersey/jersey-bundle

/**
 * Adds an invokedynamic reference to the constant pool of the class being
 * build. Does nothing if the constant pool already contains a similar item.
 * <i>This method is intended for {@link Attribute} sub classes, and is
 * normally not needed by class generators or adapters.</i>
 *
 * @param name
 *            name of the invoked method.
 * @param desc
 *            descriptor of the invoke method.
 * @param bsm
 *            the bootstrap method.
 * @param bsmArgs
 *            the bootstrap method constant arguments.
 *
 * @return the index of a new or already existing invokedynamic reference
 *         item.
 */
public int newInvokeDynamic(final String name, final String desc,
    final Handle bsm, final Object... bsmArgs) {
  return newInvokeDynamicItem(name, desc, bsm, bsmArgs).index;
}
origin: jersey/jersey-1.x

  final Handle bsm, final Object... bsmArgs) {
lastCodeOffset = code.length;
Item i = cw.newInvokeDynamicItem(name, desc, bsm, bsmArgs);
int argSize = i.intVal;
origin: com.sun.jersey/jersey-bundle

  final Handle bsm, final Object... bsmArgs) {
lastCodeOffset = code.length;
Item i = cw.newInvokeDynamicItem(name, desc, bsm, bsmArgs);
int argSize = i.intVal;
origin: eclipse-ee4j/jersey

                final Handle bsm, final Object... bsmArgs) {
lastCodeOffset = code.length;
Item i = cw.newInvokeDynamicItem(name, desc, bsm, bsmArgs);
int argSize = i.intVal;
origin: org.glassfish.jersey.bundles/jaxrs-ri

                final Handle bsm, final Object... bsmArgs) {
lastCodeOffset = code.length;
Item i = cw.newInvokeDynamicItem(name, desc, bsm, bsmArgs);
int argSize = i.intVal;
origin: eclipse-ee4j/jersey

                final Handle bsm, final Object... bsmArgs) {
lastCodeOffset = code.length;
Item i = cw.newInvokeDynamicItem(name, desc, bsm, bsmArgs);
int argSize = i.intVal;
jersey.repackaged.org.objectweb.asmClassWriternewInvokeDynamicItem

Javadoc

Adds an invokedynamic reference to the constant pool of the class being build. Does nothing if the constant pool already contains a similar item. This method is intended for Attribute sub classes, and is normally not needed by class generators or adapters.

Popular methods of ClassWriter

  • toByteArray
    Returns the bytecode of the class that was build with this class writer.
  • addType
    Adds the given Item to #typeTable.
  • addUninitializedType
    Adds the given "uninitialized" type to #typeTable and returns its index. This method is used for UNI
  • get
    Returns the constant pool's hash table item which is equal to the given item.
  • getCommonSuperClass
    Returns the common super type of the two given types. The default implementation of this method load
  • getMergedType
    Returns the index of the common super type of the two given types. This method calls #getCommonSuper
  • newClass
    Adds a class reference to the constant pool of the class being build. Does nothing if the constant p
  • newClassItem
    Adds a class reference to the constant pool of the class being build. Does nothing if the constant p
  • newConst
    Adds a number or string constant to the constant pool of the class being build. Does nothing if the
  • newConstItem
    Adds a number or string constant to the constant pool of the class being build. Does nothing if the
  • newDouble
    Adds a double to the constant pool of the class being build. Does nothing if the constant pool alrea
  • newField
    Adds a field reference to the constant pool of the class being build. Does nothing if the constant p
  • newDouble,
  • newField,
  • newFieldItem,
  • newFloat,
  • newHandle,
  • newHandleItem,
  • newInteger,
  • newLong,
  • newMethod

Popular in Java

  • Parsing JSON documents to java classes using gson
  • setContentView (Activity)
  • getSharedPreferences (Context)
  • requestLocationUpdates (LocationManager)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • 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