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

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

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

origin: com.sun.jersey/jersey-server

if (cst instanceof Integer) {
  int val = ((Integer) cst).intValue();
  return newInteger(val);
} else if (cst instanceof Byte) {
  int val = ((Byte) cst).intValue();
  return newInteger(val);
} else if (cst instanceof Character) {
  int val = ((Character) cst).charValue();
  return newInteger(val);
} else if (cst instanceof Short) {
  int val = ((Short) cst).intValue();
  return newInteger(val);
} else if (cst instanceof Boolean) {
  int val = ((Boolean) cst).booleanValue() ? 1 : 0;
  return newInteger(val);
} else if (cst instanceof Float) {
  float val = ((Float) cst).floatValue();
origin: com.sun.jersey/jersey-server

  bv.put12('s', cw.newUTF8((String) value));
} else if (value instanceof Byte) {
  bv.put12('B', cw.newInteger(((Byte) value).byteValue()).index);
} else if (value instanceof Boolean) {
  int v = ((Boolean) value).booleanValue() ? 1 : 0;
  bv.put12('Z', cw.newInteger(v).index);
} else if (value instanceof Character) {
  bv.put12('C', cw.newInteger(((Character) value).charValue()).index);
} else if (value instanceof Short) {
  bv.put12('S', cw.newInteger(((Short) value).shortValue()).index);
} else if (value instanceof Type) {
  bv.put12('c', cw.newUTF8(((Type) value).getDescriptor()));
  bv.put12('[', v.length);
  for (int i = 0; i < v.length; i++) {
    bv.put12('B', cw.newInteger(v[i]).index);
  bv.put12('[', v.length);
  for (int i = 0; i < v.length; i++) {
    bv.put12('Z', cw.newInteger(v[i] ? 1 : 0).index);
  bv.put12('[', v.length);
  for (int i = 0; i < v.length; i++) {
    bv.put12('S', cw.newInteger(v[i]).index);
  bv.put12('[', v.length);
  for (int i = 0; i < v.length; i++) {
    bv.put12('C', cw.newInteger(v[i]).index);
origin: org.glassfish.jersey.core/jersey-server

if (cst instanceof Integer) {
  int val = ((Integer) cst).intValue();
  return newInteger(val);
} else if (cst instanceof Byte) {
  int val = ((Byte) cst).intValue();
  return newInteger(val);
} else if (cst instanceof Character) {
  int val = ((Character) cst).charValue();
  return newInteger(val);
} else if (cst instanceof Short) {
  int val = ((Short) cst).intValue();
  return newInteger(val);
} else if (cst instanceof Boolean) {
  int val = ((Boolean) cst).booleanValue() ? 1 : 0;
  return newInteger(val);
} else if (cst instanceof Float) {
  float val = ((Float) cst).floatValue();
origin: org.glassfish.jersey.core/jersey-server

  bv.put12('s', cw.newUTF8((String) value));
} else if (value instanceof Byte) {
  bv.put12('B', cw.newInteger(((Byte) value).byteValue()).index);
} else if (value instanceof Boolean) {
  int v = ((Boolean) value).booleanValue() ? 1 : 0;
  bv.put12('Z', cw.newInteger(v).index);
} else if (value instanceof Character) {
  bv.put12('C', cw.newInteger(((Character) value).charValue()).index);
} else if (value instanceof Short) {
  bv.put12('S', cw.newInteger(((Short) value).shortValue()).index);
} else if (value instanceof Type) {
  bv.put12('c', cw.newUTF8(((Type) value).getDescriptor()));
  bv.put12('[', v.length);
  for (int i = 0; i < v.length; i++) {
    bv.put12('B', cw.newInteger(v[i]).index);
  bv.put12('[', v.length);
  for (int i = 0; i < v.length; i++) {
    bv.put12('Z', cw.newInteger(v[i] ? 1 : 0).index);
  bv.put12('[', v.length);
  for (int i = 0; i < v.length; i++) {
    bv.put12('S', cw.newInteger(v[i]).index);
  bv.put12('[', v.length);
  for (int i = 0; i < v.length; i++) {
    bv.put12('C', cw.newInteger(v[i]).index);
origin: com.sun.jersey/jersey-bundle

if (cst instanceof Integer) {
  int val = ((Integer) cst).intValue();
  return newInteger(val);
} else if (cst instanceof Byte) {
  int val = ((Byte) cst).intValue();
  return newInteger(val);
} else if (cst instanceof Character) {
  int val = ((Character) cst).charValue();
  return newInteger(val);
} else if (cst instanceof Short) {
  int val = ((Short) cst).intValue();
  return newInteger(val);
} else if (cst instanceof Boolean) {
  int val = ((Boolean) cst).booleanValue() ? 1 : 0;
  return newInteger(val);
} else if (cst instanceof Float) {
  float val = ((Float) cst).floatValue();
origin: eclipse-ee4j/jersey

if (cst instanceof Integer) {
  int val = ((Integer) cst).intValue();
  return newInteger(val);
} else if (cst instanceof Byte) {
  int val = ((Byte) cst).intValue();
  return newInteger(val);
} else if (cst instanceof Character) {
  int val = ((Character) cst).charValue();
  return newInteger(val);
} else if (cst instanceof Short) {
  int val = ((Short) cst).intValue();
  return newInteger(val);
} else if (cst instanceof Boolean) {
  int val = ((Boolean) cst).booleanValue() ? 1 : 0;
  return newInteger(val);
} else if (cst instanceof Float) {
  float val = ((Float) cst).floatValue();
origin: jersey/jersey-1.x

if (cst instanceof Integer) {
  int val = ((Integer) cst).intValue();
  return newInteger(val);
} else if (cst instanceof Byte) {
  int val = ((Byte) cst).intValue();
  return newInteger(val);
} else if (cst instanceof Character) {
  int val = ((Character) cst).charValue();
  return newInteger(val);
} else if (cst instanceof Short) {
  int val = ((Short) cst).intValue();
  return newInteger(val);
} else if (cst instanceof Boolean) {
  int val = ((Boolean) cst).booleanValue() ? 1 : 0;
  return newInteger(val);
} else if (cst instanceof Float) {
  float val = ((Float) cst).floatValue();
origin: org.glassfish.jersey.bundles/jaxrs-ri

if (cst instanceof Integer) {
  int val = ((Integer) cst).intValue();
  return newInteger(val);
} else if (cst instanceof Byte) {
  int val = ((Byte) cst).intValue();
  return newInteger(val);
} else if (cst instanceof Character) {
  int val = ((Character) cst).charValue();
  return newInteger(val);
} else if (cst instanceof Short) {
  int val = ((Short) cst).intValue();
  return newInteger(val);
} else if (cst instanceof Boolean) {
  int val = ((Boolean) cst).booleanValue() ? 1 : 0;
  return newInteger(val);
} else if (cst instanceof Float) {
  float val = ((Float) cst).floatValue();
origin: eclipse-ee4j/jersey

if (cst instanceof Integer) {
  int val = ((Integer) cst).intValue();
  return newInteger(val);
} else if (cst instanceof Byte) {
  int val = ((Byte) cst).intValue();
  return newInteger(val);
} else if (cst instanceof Character) {
  int val = ((Character) cst).charValue();
  return newInteger(val);
} else if (cst instanceof Short) {
  int val = ((Short) cst).intValue();
  return newInteger(val);
} else if (cst instanceof Boolean) {
  int val = ((Boolean) cst).booleanValue() ? 1 : 0;
  return newInteger(val);
} else if (cst instanceof Float) {
  float val = ((Float) cst).floatValue();
origin: com.sun.jersey/jersey-bundle

  bv.put12('s', cw.newUTF8((String) value));
} else if (value instanceof Byte) {
  bv.put12('B', cw.newInteger(((Byte) value).byteValue()).index);
} else if (value instanceof Boolean) {
  int v = ((Boolean) value).booleanValue() ? 1 : 0;
  bv.put12('Z', cw.newInteger(v).index);
} else if (value instanceof Character) {
  bv.put12('C', cw.newInteger(((Character) value).charValue()).index);
} else if (value instanceof Short) {
  bv.put12('S', cw.newInteger(((Short) value).shortValue()).index);
} else if (value instanceof Type) {
  bv.put12('c', cw.newUTF8(((Type) value).getDescriptor()));
  bv.put12('[', v.length);
  for (int i = 0; i < v.length; i++) {
    bv.put12('B', cw.newInteger(v[i]).index);
  bv.put12('[', v.length);
  for (int i = 0; i < v.length; i++) {
    bv.put12('Z', cw.newInteger(v[i] ? 1 : 0).index);
  bv.put12('[', v.length);
  for (int i = 0; i < v.length; i++) {
    bv.put12('S', cw.newInteger(v[i]).index);
  bv.put12('[', v.length);
  for (int i = 0; i < v.length; i++) {
    bv.put12('C', cw.newInteger(v[i]).index);
origin: org.glassfish.jersey.bundles/jaxrs-ri

  bv.put12('s', cw.newUTF8((String) value));
} else if (value instanceof Byte) {
  bv.put12('B', cw.newInteger(((Byte) value).byteValue()).index);
} else if (value instanceof Boolean) {
  int v = ((Boolean) value).booleanValue() ? 1 : 0;
  bv.put12('Z', cw.newInteger(v).index);
} else if (value instanceof Character) {
  bv.put12('C', cw.newInteger(((Character) value).charValue()).index);
} else if (value instanceof Short) {
  bv.put12('S', cw.newInteger(((Short) value).shortValue()).index);
} else if (value instanceof Type) {
  bv.put12('c', cw.newUTF8(((Type) value).getDescriptor()));
  bv.put12('[', v.length);
  for (int i = 0; i < v.length; i++) {
    bv.put12('B', cw.newInteger(v[i]).index);
  bv.put12('[', v.length);
  for (int i = 0; i < v.length; i++) {
    bv.put12('Z', cw.newInteger(v[i] ? 1 : 0).index);
  bv.put12('[', v.length);
  for (int i = 0; i < v.length; i++) {
    bv.put12('S', cw.newInteger(v[i]).index);
  bv.put12('[', v.length);
  for (int i = 0; i < v.length; i++) {
    bv.put12('C', cw.newInteger(v[i]).index);
origin: eclipse-ee4j/jersey

  bv.put12('s', cw.newUTF8((String) value));
} else if (value instanceof Byte) {
  bv.put12('B', cw.newInteger(((Byte) value).byteValue()).index);
} else if (value instanceof Boolean) {
  int v = ((Boolean) value).booleanValue() ? 1 : 0;
  bv.put12('Z', cw.newInteger(v).index);
} else if (value instanceof Character) {
  bv.put12('C', cw.newInteger(((Character) value).charValue()).index);
} else if (value instanceof Short) {
  bv.put12('S', cw.newInteger(((Short) value).shortValue()).index);
} else if (value instanceof Type) {
  bv.put12('c', cw.newUTF8(((Type) value).getDescriptor()));
  bv.put12('[', v.length);
  for (int i = 0; i < v.length; i++) {
    bv.put12('B', cw.newInteger(v[i]).index);
  bv.put12('[', v.length);
  for (int i = 0; i < v.length; i++) {
    bv.put12('Z', cw.newInteger(v[i] ? 1 : 0).index);
  bv.put12('[', v.length);
  for (int i = 0; i < v.length; i++) {
    bv.put12('S', cw.newInteger(v[i]).index);
  bv.put12('[', v.length);
  for (int i = 0; i < v.length; i++) {
    bv.put12('C', cw.newInteger(v[i]).index);
origin: jersey/jersey-1.x

  bv.put12('s', cw.newUTF8((String) value));
} else if (value instanceof Byte) {
  bv.put12('B', cw.newInteger(((Byte) value).byteValue()).index);
} else if (value instanceof Boolean) {
  int v = ((Boolean) value).booleanValue() ? 1 : 0;
  bv.put12('Z', cw.newInteger(v).index);
} else if (value instanceof Character) {
  bv.put12('C', cw.newInteger(((Character) value).charValue()).index);
} else if (value instanceof Short) {
  bv.put12('S', cw.newInteger(((Short) value).shortValue()).index);
} else if (value instanceof Type) {
  bv.put12('c', cw.newUTF8(((Type) value).getDescriptor()));
  bv.put12('[', v.length);
  for (int i = 0; i < v.length; i++) {
    bv.put12('B', cw.newInteger(v[i]).index);
  bv.put12('[', v.length);
  for (int i = 0; i < v.length; i++) {
    bv.put12('Z', cw.newInteger(v[i] ? 1 : 0).index);
  bv.put12('[', v.length);
  for (int i = 0; i < v.length; i++) {
    bv.put12('S', cw.newInteger(v[i]).index);
  bv.put12('[', v.length);
  for (int i = 0; i < v.length; i++) {
    bv.put12('C', cw.newInteger(v[i]).index);
origin: eclipse-ee4j/jersey

  bv.put12('s', cw.newUTF8((String) value));
} else if (value instanceof Byte) {
  bv.put12('B', cw.newInteger(((Byte) value).byteValue()).index);
} else if (value instanceof Boolean) {
  int v = ((Boolean) value).booleanValue() ? 1 : 0;
  bv.put12('Z', cw.newInteger(v).index);
} else if (value instanceof Character) {
  bv.put12('C', cw.newInteger(((Character) value).charValue()).index);
} else if (value instanceof Short) {
  bv.put12('S', cw.newInteger(((Short) value).shortValue()).index);
} else if (value instanceof Type) {
  bv.put12('c', cw.newUTF8(((Type) value).getDescriptor()));
  bv.put12('[', v.length);
  for (int i = 0; i < v.length; i++) {
    bv.put12('B', cw.newInteger(v[i]).index);
  bv.put12('[', v.length);
  for (int i = 0; i < v.length; i++) {
    bv.put12('Z', cw.newInteger(v[i] ? 1 : 0).index);
  bv.put12('[', v.length);
  for (int i = 0; i < v.length; i++) {
    bv.put12('S', cw.newInteger(v[i]).index);
  bv.put12('[', v.length);
  for (int i = 0; i < v.length; i++) {
    bv.put12('C', cw.newInteger(v[i]).index);
jersey.repackaged.org.objectweb.asmClassWriternewInteger

Javadoc

Adds an integer to the constant pool of the class being build. Does nothing if the constant pool already contains a similar item.

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,
  • newInvokeDynamicItem,
  • newLong,
  • newMethod

Popular in Java

  • Reading from database using SQL prepared statement
  • findViewById (Activity)
  • onRequestPermissionsResult (Fragment)
  • onCreateOptionsMenu (Activity)
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Best IntelliJ 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