Codota Logo
StringStuff.classIsPrimitive
Code IndexAdd Codota to your IDE (free)

How to use
classIsPrimitive
method
in
com.ibm.wala.util.strings.StringStuff

Best Java code snippets using com.ibm.wala.util.strings.StringStuff.classIsPrimitive (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
OutputStreamWriter o =
  • Codota IconOutputStream out;new OutputStreamWriter(out)
  • Codota IconOutputStream out;String charsetName;new OutputStreamWriter(out, charsetName)
  • Codota IconHttpURLConnection connection;new OutputStreamWriter(connection.getOutputStream())
  • Smart code suggestions by Codota
}
origin: wala/WALA

public static TypeName findOrCreate(ImmutableByteArray name, int start, int length) throws IllegalArgumentException {
 Atom className = Atom.findOrCreate(StringStuff.parseForClass(name, start, length));
 ImmutableByteArray p = StringStuff.parseForPackage(name, start, length);
 Atom packageName = (p == null) ? null : Atom.findOrCreate(p);
 int dim = StringStuff.parseForArrayDimensionality(name, start, length);
 boolean innermostPrimitive = StringStuff.classIsPrimitive(name, start, length);
 if (innermostPrimitive) {
  if (dim == 0) {
   dim = -1;
  } else {
   dim <<= ElementBits;
   dim |= PrimitiveMask;
  }
 }
 TypeNameKey t = new TypeNameKey(packageName, className, dim);
 return findOrCreate(t);
}
origin: com.ibm.wala/com.ibm.wala.core

public static TypeName findOrCreate(ImmutableByteArray name, int start, int length) throws IllegalArgumentException {
 Atom className = Atom.findOrCreate(StringStuff.parseForClass(name, start, length));
 ImmutableByteArray p = StringStuff.parseForPackage(name, start, length);
 Atom packageName = (p == null) ? null : Atom.findOrCreate(p);
 int dim = StringStuff.parseForArrayDimensionality(name, start, length);
 boolean innermostPrimitive = StringStuff.classIsPrimitive(name, start, length);
 if (innermostPrimitive) {
  if (dim == 0) {
   dim = -1;
  } else {
   dim <<= ElementBits;
   dim |= PrimitiveMask;
  }
 }
 TypeNameKey t = new TypeNameKey(packageName, className, dim);
 return findOrCreate(t);
}
com.ibm.wala.util.stringsStringStuffclassIsPrimitive

Popular methods of StringStuff

  • deployment2CanonicalTypeString
    Translate a type from a deployment descriptor string into the internal JVM format eg. [[java/lang/St
  • makeMethodReference
  • deployment2CanonicalDescriptorTypeString
    Translate a type from a deployment descriptor string into the type expected for use in a method desc
  • dollarToDot
    Convert '$' to '.' in names.
  • isTypeCodeChar
  • padWithSpaces
  • parseForArrayDimensionality
    Parse an array descriptor to obtain number of dimensions in corresponding array type. b: descriptor
  • parseForClass
    Given that name[start:start+length] is a Type name in JVM format, strip the package and return the "
  • parseForInnermostArrayElementDescriptor
    Parse an array descriptor to obtain number of dimensions in corresponding array type. b: descriptor
  • parseForPackage
    Given that name[start:start+length] is a Type name in JVM format, parse it for the package
  • parseForParameterNames
  • parseForReturnTypeName
  • parseForParameterNames,
  • parseForReturnTypeName,
  • slashToDot

Popular in Java

  • Running tasks concurrently on multiple threads
  • findViewById (Activity)
  • addToBackStack (FragmentTransaction)
  • onRequestPermissionsResult (Fragment)
  • PrintStream (java.io)
    A PrintStream adds functionality to another output stream, namely the ability to print representatio
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Set (java.util)
    A collection that contains no duplicate elements. More formally, sets contain no pair of elements e1
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now