Tabnine Logo
AttLocalVariableTable
Code IndexAdd Tabnine to your IDE (free)

How to use
AttLocalVariableTable
in
com.android.dx.cf.attrib

Best Java code snippets using com.android.dx.cf.attrib.AttLocalVariableTable (Showing top 12 results out of 315)

origin: nikita36078/J2ME-Loader

/**
 * Parses a {@code LocalVariableTable} attribute.
 */
private Attribute localVariableTable(DirectClassFile cf, int offset,
    int length, ParseObserver observer) {
  if (length < 2) {
    return throwSeverelyTruncated();
  }
  ByteArray bytes = cf.getBytes();
  int count = bytes.getUnsignedShort(offset);
  if (observer != null) {
    observer.parsed(bytes, offset, 2,
        "local_variable_table_length: " + Hex.u2(count));
  }
  LocalVariableList list = parseLocalVariables(
      bytes.slice(offset + 2, offset + length), cf.getConstantPool(),
      observer, count, false);
  return new AttLocalVariableTable(list);
}
origin: nikita36078/J2ME-Loader

localVariables =
  LocalVariableList.concat(localVariables,
      lvt.getLocalVariables());
origin: com.android.tools.build/builder

localVariables =
  LocalVariableList.concat(localVariables,
      lvt.getLocalVariables());
origin: com.android.tools.build/builder

/**
 * Parses a {@code LocalVariableTable} attribute.
 */
private Attribute localVariableTable(DirectClassFile cf, int offset,
    int length, ParseObserver observer) {
  if (length < 2) {
    return throwSeverelyTruncated();
  }
  ByteArray bytes = cf.getBytes();
  int count = bytes.getUnsignedShort(offset);
  if (observer != null) {
    observer.parsed(bytes, offset, 2,
        "local_variable_table_length: " + Hex.u2(count));
  }
  LocalVariableList list = parseLocalVariables(
      bytes.slice(offset + 2, offset + length), cf.getConstantPool(),
      observer, count, false);
  return new AttLocalVariableTable(list);
}
origin: com.google.android.tools/dx

localVariables =
  LocalVariableList.concat(localVariables,
      lvt.getLocalVariables());
origin: com.jakewharton.android.repackaged/dalvik-dx

/**
 * Parses a {@code LocalVariableTable} attribute.
 */
private Attribute localVariableTable(DirectClassFile cf, int offset,
    int length, ParseObserver observer) {
  if (length < 2) {
    return throwSeverelyTruncated();
  }
  ByteArray bytes = cf.getBytes();
  int count = bytes.getUnsignedShort(offset);
  if (observer != null) {
    observer.parsed(bytes, offset, 2,
        "local_variable_table_length: " + Hex.u2(count));
  }
  LocalVariableList list = parseLocalVariables(
      bytes.slice(offset + 2, offset + length), cf.getConstantPool(),
      observer, count, false);
  return new AttLocalVariableTable(list);
}
origin: com.android/dx

localVariables =
  LocalVariableList.concat(localVariables,
      lvt.getLocalVariables());
origin: dragome/dragome-sdk

/**
 * Parses a {@code LocalVariableTable} attribute.
 */
private Attribute localVariableTable(DirectClassFile cf, int offset,
    int length, ParseObserver observer) {
  if (length < 2) {
    return throwSeverelyTruncated();
  }
  ByteArray bytes = cf.getBytes();
  int count = bytes.getUnsignedShort(offset);
  if (observer != null) {
    observer.parsed(bytes, offset, 2,
        "local_variable_table_length: " + Hex.u2(count));
  }
  LocalVariableList list = parseLocalVariables(
      bytes.slice(offset + 2, offset + length), cf.getConstantPool(),
      observer, count, false);
  return new AttLocalVariableTable(list);
}
origin: com.jakewharton.android.repackaged/dalvik-dx

 lvt = (AttLocalVariableTable) codeAttribs.findNext(lvt)) {
lvl = LocalVariableList.concat(lvl, lvt.getLocalVariables());
origin: com.google.android.tools/dx

/**
 * Parses a {@code LocalVariableTable} attribute.
 */
private Attribute localVariableTable(DirectClassFile cf, int offset,
    int length, ParseObserver observer) {
  if (length < 2) {
    return throwSeverelyTruncated();
  }
  ByteArray bytes = cf.getBytes();
  int count = bytes.getUnsignedShort(offset);
  if (observer != null) {
    observer.parsed(bytes, offset, 2,
        "local_variable_table_length: " + Hex.u2(count));
  }
  LocalVariableList list = parseLocalVariables(
      bytes.slice(offset + 2, offset + length), cf.getConstantPool(),
      observer, count, false);
  return new AttLocalVariableTable(list);
}
origin: dragome/dragome-sdk

localVariables =
  LocalVariableList.concat(localVariables,
      lvt.getLocalVariables());
origin: com.android/dx

/**
 * Parses a {@code LocalVariableTable} attribute.
 */
private Attribute localVariableTable(DirectClassFile cf, int offset,
    int length, ParseObserver observer) {
  if (length < 2) {
    return throwSeverelyTruncated();
  }
  ByteArray bytes = cf.getBytes();
  int count = bytes.getUnsignedShort(offset);
  if (observer != null) {
    observer.parsed(bytes, offset, 2,
        "local_variable_table_length: " + Hex.u2(count));
  }
  LocalVariableList list = parseLocalVariables(
      bytes.slice(offset + 2, offset + length), cf.getConstantPool(),
      observer, count, false);
  return new AttLocalVariableTable(list);
}
com.android.dx.cf.attribAttLocalVariableTable

Javadoc

Attribute class for standard LocalVariableTable attributes.

Most used methods

  • <init>
    Constructs an instance.
  • getLocalVariables

Popular in Java

  • Start an intent from android
  • notifyDataSetChanged (ArrayAdapter)
  • compareTo (BigDecimal)
  • onCreateOptionsMenu (Activity)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Path (java.nio.file)
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • CodeWhisperer 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