/dalvik/dx/junit-tests/com/android/dx/rop/cst/ |
CstTypeTest.java | 31 CstType boolArray = CstType.BOOLEAN_ARRAY; 32 assertTrue(boolArray == CstType.intern(Type.BOOLEAN_ARRAY)); 33 CstType myClass = CstType.intern(Type.intern("Lcom/example/Foo;")); 35 CstType.clearInternTable(); 38 assertTrue(boolArray == CstType.intern(Type.BOOLEAN_ARRAY)); 39 CstType myClass2 = CstType.intern(Type.intern("Lcom/example/Foo;"));
|
/dalvik/dx/src/com/android/dx/rop/cst/ |
CstType.java | 26 public final class CstType extends TypedConstant { 33 private static final ConcurrentMap<Type, CstType> interns = 37 public static final CstType OBJECT = new CstType(Type.OBJECT); 40 public static final CstType BOOLEAN = new CstType(Type.BOOLEAN_CLASS); 43 public static final CstType BYTE = new CstType(Type.BYTE_CLASS); 46 public static final CstType CHARACTER = new CstType(Type.CHARACTER_CLASS) [all...] |
CstMethodRef.java | 30 public CstMethodRef(CstType definingClass, CstNat nat) {
|
CstBaseMethodRef.java | 46 /*package*/ CstBaseMethodRef(CstType definingClass, CstNat nat) { 171 CstType definingClass = getDefiningClass(); 172 if (definingClass.equals(CstType.METHOD_HANDLE)) { 178 } else if (definingClass.equals(CstType.VAR_HANDLE)) {
|
CstInterfaceMethodRef.java | 36 public CstInterfaceMethodRef(CstType definingClass, CstNat nat) {
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
IdItem.java | 19 import com.android.dexgen.rop.cst.CstType; 29 private final CstType type; 37 public IdItem(CstType type) { 58 public final CstType getDefiningClass() {
|
AnnotationUtils.java | 28 import com.android.dexgen.rop.cst.CstType; 42 private static final CstType ANNOTATION_DEFAULT_TYPE = 43 CstType.intern(Type.intern("Ldalvik/annotation/AnnotationDefault;")); 46 private static final CstType ENCLOSING_CLASS_TYPE = 47 CstType.intern(Type.intern("Ldalvik/annotation/EnclosingClass;")); 50 private static final CstType ENCLOSING_METHOD_TYPE = 51 CstType.intern(Type.intern("Ldalvik/annotation/EnclosingMethod;")); 54 private static final CstType INNER_CLASS_TYPE = 55 CstType.intern(Type.intern("Ldalvik/annotation/InnerClass;")); 58 private static final CstType MEMBER_CLASSES_TYPE [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
IdItem.java | 19 import com.android.dx.rop.cst.CstType; 29 private final CstType type; 37 public IdItem(CstType type) { 58 public final CstType getDefiningClass() {
|
AnnotationUtils.java | 29 import com.android.dx.rop.cst.CstType; 40 private static final CstType ANNOTATION_DEFAULT_TYPE = 41 CstType.intern(Type.intern("Ldalvik/annotation/AnnotationDefault;")); 44 private static final CstType ENCLOSING_CLASS_TYPE = 45 CstType.intern(Type.intern("Ldalvik/annotation/EnclosingClass;")); 48 private static final CstType ENCLOSING_METHOD_TYPE = 49 CstType.intern(Type.intern("Ldalvik/annotation/EnclosingMethod;")); 52 private static final CstType INNER_CLASS_TYPE = 53 CstType.intern(Type.intern("Ldalvik/annotation/InnerClass;")); 56 private static final CstType MEMBER_CLASSES_TYPE [all...] |
/dalvik/dexgen/src/com/android/dexgen/rop/cst/ |
CstType.java | 26 public final class CstType extends TypedConstant { 28 private static final HashMap<Type, CstType> interns = 29 new HashMap<Type, CstType>(100); 32 public static final CstType OBJECT = intern(Type.OBJECT); 35 public static final CstType BOOLEAN = intern(Type.BOOLEAN_CLASS); 38 public static final CstType BYTE = intern(Type.BYTE_CLASS); 41 public static final CstType CHARACTER = intern(Type.CHARACTER_CLASS); 44 public static final CstType DOUBLE = intern(Type.DOUBLE_CLASS); 47 public static final CstType FLOAT = intern(Type.FLOAT_CLASS); 50 public static final CstType LONG = intern(Type.LONG_CLASS) [all...] |
CstMethodRef.java | 30 public CstMethodRef(CstType definingClass, CstNat nat) {
|
CstInterfaceMethodRef.java | 36 public CstInterfaceMethodRef(CstType definingClass, CstNat nat) {
|
/dalvik/dx/src/com/android/dx/cf/attrib/ |
AttEnclosingMethod.java | 20 import com.android.dx.rop.cst.CstType; 31 private final CstType type; 43 public AttEnclosingMethod(CstType type, CstNat method) { 65 public CstType getEnclosingClass() {
|
InnerClassList.java | 20 import com.android.dx.rop.cst.CstType; 58 public void set(int n, CstType innerClass, CstType outerClass, 68 private final CstType innerClass; 71 private final CstType outerClass; 89 public Item(CstType innerClass, CstType outerClass, 106 public CstType getInnerClass() { 115 public CstType getOuterClass() {
|
/dalvik/dexgen/src/com/android/dexgen/rop/ |
Member.java | 20 import com.android.dexgen.rop.cst.CstType; 32 public CstType getDefiningClass();
|
StdField.java | 20 import com.android.dexgen.rop.cst.CstType; 37 public StdField(CstType definingClass, int accessFlags, CstNat nat, 48 this(CstType.intern(field.getDeclaringClass()), 51 CstType.intern(field.getType()).getDescriptor()), 64 this(CstType.intern(definingClass), 66 new CstNat(new CstUtf8(name), CstType.intern(type).getDescriptor()),
|
StdMember.java | 20 import com.android.dexgen.rop.cst.CstType; 29 private final CstType definingClass; 48 public StdMember(CstType definingClass, int accessFlags, CstNat nat, 82 public final CstType getDefiningClass() {
|
ByteCatchList.java | 19 import com.android.dexgen.rop.cst.CstType; 89 CstType exceptionClass) { 139 CstType type = item.getExceptionClass(); 142 CstType one = arr[i].getExceptionClass(); 143 if ((one == type) || (one == CstType.OBJECT)) { 235 private final CstType exceptionClass; 249 CstType exceptionClass) { 299 * @return {@code non-null;} the exception class; {@link CstType#OBJECT} 302 public CstType getExceptionClass() { 304 exceptionClass : CstType.OBJECT [all...] |
/dalvik/dx/src/com/android/dx/cf/iface/ |
Member.java | 21 import com.android.dx.rop.cst.CstType; 32 public CstType getDefiningClass();
|
ClassFile.java | 22 import com.android.dx.rop.cst.CstType; 66 public CstType getThisClass(); 74 public CstType getSuperclass();
|
StdMember.java | 21 import com.android.dx.rop.cst.CstType; 29 private final CstType definingClass; 48 public StdMember(CstType definingClass, int accessFlags, CstNat nat, 83 public final CstType getDefiningClass() {
|
/dalvik/dx/src/com/android/dx/cf/code/ |
BootstrapMethodsList.java | 19 import com.android.dx.rop.cst.CstType; 71 public void set(int n, CstType declaringClass, CstMethodHandle bootstrapMethodHandle, 110 private final CstType declaringClass; 112 public Item(CstType declaringClass, CstMethodHandle bootstrapMethodHandle, 136 public CstType getDeclaringClass() {
|
ByteCatchList.java | 19 import com.android.dx.rop.cst.CstType; 89 CstType exceptionClass) { 139 CstType type = item.getExceptionClass(); 142 CstType one = arr[i].getExceptionClass(); 143 if ((one == type) || (one == CstType.OBJECT)) { 235 private final CstType exceptionClass; 249 CstType exceptionClass) { 299 * @return {@code non-null;} the exception class; {@link CstType#OBJECT} 302 public CstType getExceptionClass() { 304 exceptionClass : CstType.OBJECT [all...] |
/dalvik/dx/src/com/android/dx/dex/code/ |
ArrayData.java | 25 import com.android.dx.rop.cst.CstType; 82 if (arrayType == CstType.BYTE_ARRAY || 83 arrayType == CstType.BOOLEAN_ARRAY) { 85 } else if (arrayType == CstType.SHORT_ARRAY || 86 arrayType == CstType.CHAR_ARRAY) { 88 } else if (arrayType == CstType.INT_ARRAY || 89 arrayType == CstType.FLOAT_ARRAY) { 91 } else if (arrayType == CstType.LONG_ARRAY || 92 arrayType == CstType.DOUBLE_ARRAY) {
|
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
CatchHandlerList.java | 19 import com.android.dexgen.rop.cst.CstType; 111 return last.getExceptionType().equals(CstType.OBJECT); 121 public void set(int n, CstType exceptionType, int handler) { 169 private final CstType exceptionType; 180 public Entry(CstType exceptionType, int handler) { 225 public CstType getExceptionType() {
|