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

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

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

origin: com.sun.jersey/jersey-server

/**
 * Adds a method type 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 methodDesc
 *            method descriptor of the method type.
 * @return the index of a new or already existing method type reference
 *         item.
 */
public int newMethodType(final String methodDesc) {
  return newMethodTypeItem(methodDesc).index;
}
origin: com.sun.jersey/jersey-server

  return newClassItem(t.getInternalName());
} else if (s == Type.METHOD) {
  return newMethodTypeItem(t.getDescriptor());
} else { // s == primitive type or array
  return newClassItem(t.getDescriptor());
origin: org.glassfish.jersey.core/jersey-server

/**
 * Adds a method type 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 methodDesc
 *            method descriptor of the method type.
 * @return the index of a new or already existing method type reference
 *         item.
 */
public int newMethodType(final String methodDesc) {
  return newMethodTypeItem(methodDesc).index;
}
origin: org.glassfish.jersey.core/jersey-server

  return newClassItem(t.getInternalName());
} else if (s == Type.METHOD) {
  return newMethodTypeItem(t.getDescriptor());
} else { // s == primitive type or array
  return newClassItem(t.getDescriptor());
origin: eclipse-ee4j/jersey

/**
 * Adds a method type 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 methodDesc
 *            method descriptor of the method type.
 * @return the index of a new or already existing method type reference
 *         item.
 */
public int newMethodType(final String methodDesc) {
  return newMethodTypeItem(methodDesc).index;
}
origin: com.sun.jersey/jersey-bundle

/**
 * Adds a method type 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 methodDesc
 *            method descriptor of the method type.
 * @return the index of a new or already existing method type reference
 *         item.
 */
public int newMethodType(final String methodDesc) {
  return newMethodTypeItem(methodDesc).index;
}
origin: org.glassfish.jersey.bundles/jaxrs-ri

/**
 * Adds a method type 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 methodDesc
 *            method descriptor of the method type.
 * @return the index of a new or already existing method type reference
 *         item.
 */
public int newMethodType(final String methodDesc) {
  return newMethodTypeItem(methodDesc).index;
}
origin: eclipse-ee4j/jersey

/**
 * Adds a method type 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 methodDesc
 *            method descriptor of the method type.
 * @return the index of a new or already existing method type reference
 *         item.
 */
public int newMethodType(final String methodDesc) {
  return newMethodTypeItem(methodDesc).index;
}
origin: jersey/jersey-1.x

/**
 * Adds a method type 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 methodDesc
 *            method descriptor of the method type.
 * @return the index of a new or already existing method type reference
 *         item.
 */
public int newMethodType(final String methodDesc) {
  return newMethodTypeItem(methodDesc).index;
}
origin: com.sun.jersey/jersey-bundle

  return newClassItem(t.getInternalName());
} else if (s == Type.METHOD) {
  return newMethodTypeItem(t.getDescriptor());
} else { // s == primitive type or array
  return newClassItem(t.getDescriptor());
origin: eclipse-ee4j/jersey

  return newClassItem(t.getInternalName());
} else if (s == Type.METHOD) {
  return newMethodTypeItem(t.getDescriptor());
} else { // s == primitive type or array
  return newClassItem(t.getDescriptor());
origin: jersey/jersey-1.x

  return newClassItem(t.getInternalName());
} else if (s == Type.METHOD) {
  return newMethodTypeItem(t.getDescriptor());
} else { // s == primitive type or array
  return newClassItem(t.getDescriptor());
origin: org.glassfish.jersey.bundles/jaxrs-ri

  return newClassItem(t.getInternalName());
} else if (s == Type.METHOD) {
  return newMethodTypeItem(t.getDescriptor());
} else { // s == primitive type or array
  return newClassItem(t.getDescriptor());
origin: eclipse-ee4j/jersey

  return newClassItem(t.getInternalName());
} else if (s == Type.METHOD) {
  return newMethodTypeItem(t.getDescriptor());
} else { // s == primitive type or array
  return newClassItem(t.getDescriptor());
jersey.repackaged.org.objectweb.asmClassWriternewMethodTypeItem

Javadoc

Adds a method type 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,
  • newInvokeDynamicItem,
  • newLong,
  • newMethod

Popular in Java

  • Making http post requests using okhttp
  • getSharedPreferences (Context)
  • getSupportFragmentManager (FragmentActivity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • JLabel (javax.swing)
  • Join (org.hibernate.mapping)
  • Github Copilot 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