congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
InternalNames.getInternalName
Code IndexAdd Tabnine to your IDE (free)

How to use
getInternalName
method
in
libcore.reflect.InternalNames

Best Java code snippets using libcore.reflect.InternalNames.getInternalName (Showing top 7 results out of 315)

origin: robovm/robovm

  public static String getInternalName(Class<?> c) {
    if (c.isArray()) {
      return '[' + getInternalName(c.getComponentType());
    } else if (c == boolean.class) {
      return "Z";
    } else if (c == byte.class) {
      return "B";
    } else if (c == short.class) {
      return "S";
    } else if (c == int.class) {
      return "I";
    } else if (c == long.class) {
      return "J";
    } else if (c == float.class) {
      return "F";
    } else if (c == double.class) {
      return "D";
    } else if (c == char.class) {
      return "C";
    } else if (c == void.class) {
      return "V";
    } else {
      return 'L' + c.getName().replace('.', '/') + ';';
    }
  }
}
origin: MobiVM/robovm

  public static String getInternalName(Class<?> c) {
    if (c.isArray()) {
      return '[' + getInternalName(c.getComponentType());
    } else if (c == boolean.class) {
      return "Z";
    } else if (c == byte.class) {
      return "B";
    } else if (c == short.class) {
      return "S";
    } else if (c == int.class) {
      return "I";
    } else if (c == long.class) {
      return "J";
    } else if (c == float.class) {
      return "F";
    } else if (c == double.class) {
      return "D";
    } else if (c == char.class) {
      return "C";
    } else if (c == void.class) {
      return "V";
    } else {
      return 'L' + c.getName().replace('.', '/') + ';';
    }
  }
}
origin: ibinti/bugvm

  public static String getInternalName(Class<?> c) {
    if (c.isArray()) {
      return '[' + getInternalName(c.getComponentType());
    } else if (c == boolean.class) {
      return "Z";
    } else if (c == byte.class) {
      return "B";
    } else if (c == short.class) {
      return "S";
    } else if (c == int.class) {
      return "I";
    } else if (c == long.class) {
      return "J";
    } else if (c == float.class) {
      return "F";
    } else if (c == double.class) {
      return "D";
    } else if (c == char.class) {
      return "C";
    } else if (c == void.class) {
      return "V";
    } else {
      return 'L' + c.getName().replace('.', '/') + ';';
    }
  }
}
origin: com.bugvm/bugvm-rt

  public static String getInternalName(Class<?> c) {
    if (c.isArray()) {
      return '[' + getInternalName(c.getComponentType());
    } else if (c == boolean.class) {
      return "Z";
    } else if (c == byte.class) {
      return "B";
    } else if (c == short.class) {
      return "S";
    } else if (c == int.class) {
      return "I";
    } else if (c == long.class) {
      return "J";
    } else if (c == float.class) {
      return "F";
    } else if (c == double.class) {
      return "D";
    } else if (c == char.class) {
      return "C";
    } else if (c == void.class) {
      return "V";
    } else {
      return 'L' + c.getName().replace('.', '/') + ';';
    }
  }
}
origin: com.mobidevelop.robovm/robovm-rt

  public static String getInternalName(Class<?> c) {
    if (c.isArray()) {
      return '[' + getInternalName(c.getComponentType());
    } else if (c == boolean.class) {
      return "Z";
    } else if (c == byte.class) {
      return "B";
    } else if (c == short.class) {
      return "S";
    } else if (c == int.class) {
      return "I";
    } else if (c == long.class) {
      return "J";
    } else if (c == float.class) {
      return "F";
    } else if (c == double.class) {
      return "D";
    } else if (c == char.class) {
      return "C";
    } else if (c == void.class) {
      return "V";
    } else {
      return 'L' + c.getName().replace('.', '/') + ';';
    }
  }
}
origin: com.gluonhq/robovm-rt

  public static String getInternalName(Class<?> c) {
    if (c.isArray()) {
      return '[' + getInternalName(c.getComponentType());
    } else if (c == boolean.class) {
      return "Z";
    } else if (c == byte.class) {
      return "B";
    } else if (c == short.class) {
      return "S";
    } else if (c == int.class) {
      return "I";
    } else if (c == long.class) {
      return "J";
    } else if (c == float.class) {
      return "F";
    } else if (c == double.class) {
      return "D";
    } else if (c == char.class) {
      return "C";
    } else if (c == void.class) {
      return "V";
    } else {
      return 'L' + c.getName().replace('.', '/') + ';';
    }
  }
}
origin: FlexoVM/flexovm

  public static String getInternalName(Class<?> c) {
    if (c.isArray()) {
      return '[' + getInternalName(c.getComponentType());
    } else if (c == boolean.class) {
      return "Z";
    } else if (c == byte.class) {
      return "B";
    } else if (c == short.class) {
      return "S";
    } else if (c == int.class) {
      return "I";
    } else if (c == long.class) {
      return "J";
    } else if (c == float.class) {
      return "F";
    } else if (c == double.class) {
      return "D";
    } else if (c == char.class) {
      return "C";
    } else if (c == void.class) {
      return "V";
    } else {
      return 'L' + c.getName().replace('.', '/') + ';';
    }
  }
}
libcore.reflectInternalNamesgetInternalName

Popular methods of InternalNames

  • getClass

Popular in Java

  • Updating database using SQL prepared statement
  • onRequestPermissionsResult (Fragment)
  • setScale (BigDecimal)
  • getSupportFragmentManager (FragmentActivity)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Sublime Text for Python
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now