com.android.dx.rop.cst.StdConstantPool Java Examples
The following examples show how to use
com.android.dx.rop.cst.StdConstantPool.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ConstantPoolParser.java From Box with Apache License 2.0 | 5 votes |
/** * Constructs an instance. * * @param bytes {@code non-null;} the bytes of the file */ public ConstantPoolParser(ByteArray bytes) { int size = bytes.getUnsignedShort(8); // constant_pool_count this.bytes = bytes; this.pool = new StdConstantPool(size); this.offsets = new int[size]; this.endOffset = -1; }
Example #2
Source File: ConstantPoolParser.java From Box with Apache License 2.0 | 5 votes |
/** * Constructs an instance. * * @param bytes {@code non-null;} the bytes of the file */ public ConstantPoolParser(ByteArray bytes) { int size = bytes.getUnsignedShort(8); // constant_pool_count this.bytes = bytes; this.pool = new StdConstantPool(size); this.offsets = new int[size]; this.endOffset = -1; }
Example #3
Source File: ConstantPoolParser.java From J2ME-Loader with Apache License 2.0 | 5 votes |
/** * Constructs an instance. * * @param bytes {@code non-null;} the bytes of the file */ public ConstantPoolParser(ByteArray bytes) { int size = bytes.getUnsignedShort(8); // constant_pool_count this.bytes = bytes; this.pool = new StdConstantPool(size); this.offsets = new int[size]; this.endOffset = -1; }
Example #4
Source File: ConstantPoolParser.java From buck with Apache License 2.0 | 5 votes |
/** * Constructs an instance. * * @param bytes {@code non-null;} the bytes of the file */ public ConstantPoolParser(ByteArray bytes) { int size = bytes.getUnsignedShort(8); // constant_pool_count this.bytes = bytes; this.pool = new StdConstantPool(size); this.offsets = new int[size]; this.endOffset = -1; }
Example #5
Source File: ConstantPoolParser.java From Box with Apache License 2.0 | 2 votes |
/** * Gets the actual constant pool. * * @return {@code non-null;} the constant pool */ public StdConstantPool getPool() { parseIfNecessary(); return pool; }
Example #6
Source File: ConstantPoolParser.java From Box with Apache License 2.0 | 2 votes |
/** * Gets the actual constant pool. * * @return {@code non-null;} the constant pool */ public StdConstantPool getPool() { parseIfNecessary(); return pool; }
Example #7
Source File: ConstantPoolParser.java From J2ME-Loader with Apache License 2.0 | 2 votes |
/** * Gets the actual constant pool. * * @return {@code non-null;} the constant pool */ public StdConstantPool getPool() { parseIfNecessary(); return pool; }
Example #8
Source File: ConstantPoolParser.java From buck with Apache License 2.0 | 2 votes |
/** * Gets the actual constant pool. * * @return {@code non-null;} the constant pool */ public StdConstantPool getPool() { parseIfNecessary(); return pool; }