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

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

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

origin: com.sun.jersey/jersey-server

/**
 * Adds a handle 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 tag
 *            the kind of this handle. Must be {@link Opcodes#H_GETFIELD},
 *            {@link Opcodes#H_GETSTATIC}, {@link Opcodes#H_PUTFIELD},
 *            {@link Opcodes#H_PUTSTATIC}, {@link Opcodes#H_INVOKEVIRTUAL},
 *            {@link Opcodes#H_INVOKESTATIC},
 *            {@link Opcodes#H_INVOKESPECIAL},
 *            {@link Opcodes#H_NEWINVOKESPECIAL} or
 *            {@link Opcodes#H_INVOKEINTERFACE}.
 * @param owner
 *            the internal name of the field or method owner class.
 * @param name
 *            the name of the field or method.
 * @param desc
 *            the descriptor of the field or method.
 * @return the index of a new or already existing method type reference
 *         item.
 */
public int newHandle(final int tag, final String owner, final String name,
    final String desc) {
  return newHandleItem(tag, owner, name, desc).index;
}
origin: com.sun.jersey/jersey-server

  return newHandleItem(h.tag, h.owner, h.name, h.desc);
} else {
  throw new IllegalArgumentException("value " + cst);
origin: org.glassfish.jersey.core/jersey-server

/**
 * Adds a handle 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 tag
 *            the kind of this handle. Must be {@link Opcodes#H_GETFIELD},
 *            {@link Opcodes#H_GETSTATIC}, {@link Opcodes#H_PUTFIELD},
 *            {@link Opcodes#H_PUTSTATIC}, {@link Opcodes#H_INVOKEVIRTUAL},
 *            {@link Opcodes#H_INVOKESTATIC},
 *            {@link Opcodes#H_INVOKESPECIAL},
 *            {@link Opcodes#H_NEWINVOKESPECIAL} or
 *            {@link Opcodes#H_INVOKEINTERFACE}.
 * @param owner
 *            the internal name of the field or method owner class.
 * @param name
 *            the name of the field or method.
 * @param desc
 *            the descriptor of the field or method.
 * @return the index of a new or already existing method type reference
 *         item.
 */
public int newHandle(final int tag, final String owner, final String name,
           final String desc) {
  return newHandleItem(tag, owner, name, desc).index;
}
origin: org.glassfish.jersey.core/jersey-server

  return newHandleItem(h.tag, h.owner, h.name, h.desc);
} else {
  throw new IllegalArgumentException("value " + cst);
origin: eclipse-ee4j/jersey

/**
 * Adds a handle 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 tag
 *            the kind of this handle. Must be {@link Opcodes#H_GETFIELD},
 *            {@link Opcodes#H_GETSTATIC}, {@link Opcodes#H_PUTFIELD},
 *            {@link Opcodes#H_PUTSTATIC}, {@link Opcodes#H_INVOKEVIRTUAL},
 *            {@link Opcodes#H_INVOKESTATIC},
 *            {@link Opcodes#H_INVOKESPECIAL},
 *            {@link Opcodes#H_NEWINVOKESPECIAL} or
 *            {@link Opcodes#H_INVOKEINTERFACE}.
 * @param owner
 *            the internal name of the field or method owner class.
 * @param name
 *            the name of the field or method.
 * @param desc
 *            the descriptor of the field or method.
 * @return the index of a new or already existing method type reference
 *         item.
 */
public int newHandle(final int tag, final String owner, final String name,
           final String desc) {
  return newHandleItem(tag, owner, name, desc).index;
}
origin: com.sun.jersey/jersey-bundle

/**
 * Adds a handle 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 tag
 *            the kind of this handle. Must be {@link Opcodes#H_GETFIELD},
 *            {@link Opcodes#H_GETSTATIC}, {@link Opcodes#H_PUTFIELD},
 *            {@link Opcodes#H_PUTSTATIC}, {@link Opcodes#H_INVOKEVIRTUAL},
 *            {@link Opcodes#H_INVOKESTATIC},
 *            {@link Opcodes#H_INVOKESPECIAL},
 *            {@link Opcodes#H_NEWINVOKESPECIAL} or
 *            {@link Opcodes#H_INVOKEINTERFACE}.
 * @param owner
 *            the internal name of the field or method owner class.
 * @param name
 *            the name of the field or method.
 * @param desc
 *            the descriptor of the field or method.
 * @return the index of a new or already existing method type reference
 *         item.
 */
public int newHandle(final int tag, final String owner, final String name,
    final String desc) {
  return newHandleItem(tag, owner, name, desc).index;
}
origin: org.glassfish.jersey.bundles/jaxrs-ri

/**
 * Adds a handle 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 tag
 *            the kind of this handle. Must be {@link Opcodes#H_GETFIELD},
 *            {@link Opcodes#H_GETSTATIC}, {@link Opcodes#H_PUTFIELD},
 *            {@link Opcodes#H_PUTSTATIC}, {@link Opcodes#H_INVOKEVIRTUAL},
 *            {@link Opcodes#H_INVOKESTATIC},
 *            {@link Opcodes#H_INVOKESPECIAL},
 *            {@link Opcodes#H_NEWINVOKESPECIAL} or
 *            {@link Opcodes#H_INVOKEINTERFACE}.
 * @param owner
 *            the internal name of the field or method owner class.
 * @param name
 *            the name of the field or method.
 * @param desc
 *            the descriptor of the field or method.
 * @return the index of a new or already existing method type reference
 *         item.
 */
public int newHandle(final int tag, final String owner, final String name,
           final String desc) {
  return newHandleItem(tag, owner, name, desc).index;
}
origin: eclipse-ee4j/jersey

/**
 * Adds a handle 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 tag
 *            the kind of this handle. Must be {@link Opcodes#H_GETFIELD},
 *            {@link Opcodes#H_GETSTATIC}, {@link Opcodes#H_PUTFIELD},
 *            {@link Opcodes#H_PUTSTATIC}, {@link Opcodes#H_INVOKEVIRTUAL},
 *            {@link Opcodes#H_INVOKESTATIC},
 *            {@link Opcodes#H_INVOKESPECIAL},
 *            {@link Opcodes#H_NEWINVOKESPECIAL} or
 *            {@link Opcodes#H_INVOKEINTERFACE}.
 * @param owner
 *            the internal name of the field or method owner class.
 * @param name
 *            the name of the field or method.
 * @param desc
 *            the descriptor of the field or method.
 * @return the index of a new or already existing method type reference
 *         item.
 */
public int newHandle(final int tag, final String owner, final String name,
           final String desc) {
  return newHandleItem(tag, owner, name, desc).index;
}
origin: jersey/jersey-1.x

/**
 * Adds a handle 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 tag
 *            the kind of this handle. Must be {@link Opcodes#H_GETFIELD},
 *            {@link Opcodes#H_GETSTATIC}, {@link Opcodes#H_PUTFIELD},
 *            {@link Opcodes#H_PUTSTATIC}, {@link Opcodes#H_INVOKEVIRTUAL},
 *            {@link Opcodes#H_INVOKESTATIC},
 *            {@link Opcodes#H_INVOKESPECIAL},
 *            {@link Opcodes#H_NEWINVOKESPECIAL} or
 *            {@link Opcodes#H_INVOKEINTERFACE}.
 * @param owner
 *            the internal name of the field or method owner class.
 * @param name
 *            the name of the field or method.
 * @param desc
 *            the descriptor of the field or method.
 * @return the index of a new or already existing method type reference
 *         item.
 */
public int newHandle(final int tag, final String owner, final String name,
    final String desc) {
  return newHandleItem(tag, owner, name, desc).index;
}
origin: eclipse-ee4j/jersey

  return newHandleItem(h.tag, h.owner, h.name, h.desc);
} else {
  throw new IllegalArgumentException("value " + cst);
origin: jersey/jersey-1.x

  return newHandleItem(h.tag, h.owner, h.name, h.desc);
} else {
  throw new IllegalArgumentException("value " + cst);
origin: com.sun.jersey/jersey-bundle

  return newHandleItem(h.tag, h.owner, h.name, h.desc);
} else {
  throw new IllegalArgumentException("value " + cst);
origin: org.glassfish.jersey.bundles/jaxrs-ri

  return newHandleItem(h.tag, h.owner, h.name, h.desc);
} else {
  throw new IllegalArgumentException("value " + cst);
origin: eclipse-ee4j/jersey

  return newHandleItem(h.tag, h.owner, h.name, h.desc);
} else {
  throw new IllegalArgumentException("value " + cst);
jersey.repackaged.org.objectweb.asmClassWriternewHandleItem

Javadoc

Adds a handle 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,
  • newInteger,
  • newInvokeDynamicItem,
  • newLong,
  • newMethod

Popular in Java

  • Updating database using SQL prepared statement
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • runOnUiThread (Activity)
  • getContentResolver (Context)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • 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