Home
last modified time | relevance | path

Searched refs:CstType (Results 1 – 25 of 64) sorted by relevance

123

/dalvik/dx/src/com/android/dx/rop/cst/
DCstType.java26 public final class CstType extends TypedConstant { class
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 …]
DCstMemberRef.java24 private final CstType definingClass;
35 /*package*/ CstMemberRef(CstType definingClass, CstNat nat) { in CstMemberRef()
110 public final CstType getDefiningClass() { in getDefiningClass()
DCstFieldRef.java36 return new CstFieldRef(CstType.forBoxedPrimitiveType(primitiveType), in forPrimitiveType()
46 public CstFieldRef(CstType definingClass, CstNat nat) { in CstFieldRef()
/dalvik/dx/src/com/android/dx/cf/attrib/
DInnerClassList.java19 import com.android.dx.rop.cst.CstType;
58 public void set(int n, CstType innerClass, CstType outerClass, in set()
68 private final CstType innerClass;
71 private final CstType outerClass;
89 public Item(CstType innerClass, CstType outerClass, in Item()
106 public CstType getInnerClass() { in getInnerClass()
115 public CstType getOuterClass() { in getOuterClass()
DAttEnclosingMethod.java20 import com.android.dx.rop.cst.CstType;
31 private final CstType type;
43 public AttEnclosingMethod(CstType type, CstNat method) { in AttEnclosingMethod()
64 public CstType getEnclosingClass() { in getEnclosingClass()
/dalvik/dx/src/com/android/dx/dex/file/
DAnnotationUtils.java28 import com.android.dx.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 …]
DIdItem.java19 import com.android.dx.rop.cst.CstType;
29 private final CstType type;
37 public IdItem(CstType type) { in IdItem()
58 public final CstType getDefiningClass() { in getDefiningClass()
DTypeIdItem.java19 import com.android.dx.rop.cst.CstType;
36 public TypeIdItem(CstType type) { in TypeIdItem()
61 CstType type = getDefiningClass(); in writeTo()
DTypeIdsSection.java20 import com.android.dx.rop.cst.CstType;
63 Type type = ((CstType) cst).getClassType(); in get()
113 result = new TypeIdItem(new CstType(type)); in intern()
126 public TypeIdItem intern(CstType type) { in intern()
174 public int indexOf(CstType type) { in indexOf()
DClassDefItem.java26 import com.android.dx.rop.cst.CstType;
49 private final CstType thisClass;
58 private final CstType superclass;
90 public ClassDefItem(CstType thisClass, int accessFlags, in ClassDefItem()
91 CstType superclass, TypeList interfaces, CstUtf8 sourceFile) { in ClassDefItem()
228 public CstType getThisClass() { in getThisClass()
247 public CstType getSuperclass() { in getSuperclass()
/dalvik/dx/src/com/android/dx/cf/code/
DByteCatchList.java19 import com.android.dx.rop.cst.CstType;
89 CstType exceptionClass) { in set()
139 CstType type = item.getExceptionClass(); in typeNotFound()
142 CstType one = arr[i].getExceptionClass(); in typeNotFound()
143 if ((one == type) || (one == CstType.OBJECT)) { in typeNotFound()
235 private final CstType exceptionClass;
249 CstType exceptionClass) { in Item()
302 public CstType getExceptionClass() { in getExceptionClass()
304 exceptionClass : CstType.OBJECT; in getExceptionClass()
DValueAwareMachine.java19 import com.android.dx.rop.cst.CstType;
170 Type type = ((CstType) getAuxCst()).getClassType(); in run()
177 Type type = ((CstType) getAuxCst()).getClassType(); in run()
182 Type type = ((CstType) getAuxCst()).getClassType(); in run()
/dalvik/dx/src/com/android/dx/dex/code/
DArrayData.java79 if (arrayType == CstType.BYTE_ARRAY || in ArrayData()
80 arrayType == CstType.BOOLEAN_ARRAY) { in ArrayData()
82 } else if (arrayType == CstType.SHORT_ARRAY || in ArrayData()
83 arrayType == CstType.CHAR_ARRAY) { in ArrayData()
85 } else if (arrayType == CstType.INT_ARRAY || in ArrayData()
86 arrayType == CstType.FLOAT_ARRAY) { in ArrayData()
88 } else if (arrayType == CstType.LONG_ARRAY || in ArrayData()
89 arrayType == CstType.DOUBLE_ARRAY) { in ArrayData()
DCatchHandlerList.java19 import com.android.dx.rop.cst.CstType;
111 return last.getExceptionType().equals(CstType.OBJECT); in catchesAll()
121 public void set(int n, CstType exceptionType, int handler) { in set()
169 private final CstType exceptionType;
180 public Entry(CstType exceptionType, int handler) { in Entry()
225 public CstType getExceptionType() { in getExceptionType()
/dalvik/dx/src/com/android/dx/cf/iface/
DClassFile.java20 import com.android.dx.rop.cst.CstType;
65 public CstType getThisClass(); in getThisClass()
73 public CstType getSuperclass(); in getSuperclass()
DStdMember.java20 import com.android.dx.rop.cst.CstType;
29 private final CstType definingClass;
48 public StdMember(CstType definingClass, int accessFlags, CstNat nat, in StdMember()
82 public final CstType getDefiningClass() { in getDefiningClass()
DMember.java20 import com.android.dx.rop.cst.CstType;
32 public CstType getDefiningClass(); in getDefiningClass()
DStdField.java21 import com.android.dx.rop.cst.CstType;
37 public StdField(CstType definingClass, int accessFlags, CstNat nat, in StdField()
DStdMethod.java21 import com.android.dx.rop.cst.CstType;
40 public StdMethod(CstType definingClass, int accessFlags, CstNat nat, in StdMethod()
/dalvik/dx/src/com/android/dx/cf/direct/
DDirectClassFile.java31 import com.android.dx.rop.cst.CstType;
107 private CstType thisClass;
113 private CstType superClass;
261 public CstType getThisClass() { in getThisClass()
267 public CstType getSuperclass() { in getSuperclass()
475 thisClass = (CstType) pool.get(cpi); in parse0()
477 superClass = (CstType) pool.get0Ok(cpi); in parse0()
593 CstType type; in DcfTypeList()
595 type = (CstType) pool.get(idx); in DcfTypeList()
625 return ((CstType) pool.get(idx)).getClassType(); in getType()
DMemberListParser.java26 import com.android.dx.rop.cst.CstType;
39 private final CstType definer;
62 public MemberListParser(DirectClassFile cf, CstType definer, in MemberListParser()
127 protected final CstType getDefiner() { in getDefiner()
DMethodListParser.java25 import com.android.dx.rop.cst.CstType;
42 public MethodListParser(DirectClassFile cf, CstType definer, in MethodListParser()
/dalvik/dx/src/com/android/dx/rop/annotation/
DAnnotations.java19 import com.android.dx.rop.cst.CstType;
40 private final TreeMap<CstType, Annotation> annotations;
87 annotations = new TreeMap<CstType, Annotation>(); in Annotations()
175 CstType type = annotation.getType(); in add()
DAnnotation.java25 import com.android.dx.rop.cst.CstType;
45 private final CstType type;
59 public Annotation(CstType type, AnnotationVisibility visibility) { in Annotation()
170 public CstType getType() { in getType()
/dalvik/dx/src/com/android/dx/cf/cst/
DConstantPoolParser.java31 import com.android.dx.rop.cst.CstType;
258 cst = new CstType(Type.internClassName(name.getString())); in parse0()
269 CstType type = (CstType) parse0(classIndex); in parse0()
277 CstType type = (CstType) parse0(classIndex); in parse0()
285 CstType type = (CstType) parse0(classIndex); in parse0()

123