Lines Matching refs:type

17 package com.android.dexgen.rop.type;
24 * Representation of a value type, such as may appear in a field, in a
38 /** basic type constant for {@code void} */
41 /** basic type constant for {@code boolean} */
44 /** basic type constant for {@code byte} */
47 /** basic type constant for {@code char} */
50 /** basic type constant for {@code double} */
53 /** basic type constant for {@code float} */
56 /** basic type constant for {@code int} */
59 /** basic type constant for {@code long} */
62 /** basic type constant for {@code short} */
65 /** basic type constant for {@code Object} */
68 /** basic type constant for a return address */
71 /** count of basic type constants */
168 * representing a primitive type
175 * representing a primitive type
182 * representing a primitive type
189 * representing a primitive type
196 * representing a primitive type
203 * representing a primitive type
210 * representing a primitive type
217 * representing a primitive type
224 * representing a primitive type
255 /** {@code non-null;} field descriptor for the type */
259 * basic type corresponding to this type; one of the
265 * {@code >= -1;} for an uninitialized type, bytecode index that this
273 * {@code null-ok;} the internal-form class name corresponding to this type, if
274 * calculated; only valid if {@code this} is a reference type and
280 * {@code null-ok;} the type corresponding to an array of this type, if
286 * {@code null-ok;} the type corresponding to elements of this type, if
287 * calculated; only valid if {@code this} is an array type
292 * {@code null-ok;} the type corresponding to the initialized version of
293 * this type, if this instance is in fact an uninitialized type
298 * Returns the unique instance corresponding to the type represented by
301 * {@code "V"} (that is, type {@code void}) as a valid
313 * Returns the unique instance corresponding to the type with the
316 * {@code "V"} (that is, type {@code void}) as a valid
345 * type, and build back on to form the result.
398 * Returns the unique instance corresponding to the type represented by
399 * given {@code Class} object, allowing {@code "V"} to return the type
412 * Returns the unique instance corresponding to the type with the
413 * given descriptor, allowing {@code "V"} to return the type
437 * Returns the unique instance corresponding to the type of the
443 * @param name {@code non-null;} the name of the class whose type is desired
444 * @return {@code non-null;} the corresponding type
461 * Converts type name in the format as returned by reflection
465 * @return string with the type name in dex internal format
486 * Constructs an instance corresponding to an "uninitialized type."
490 * @param descriptor {@code non-null;} the field descriptor for the type
491 * @param basicType basic type corresponding to this type; one of the
517 * Constructs an instance corresponding to an "initialized type."
521 * @param descriptor {@code non-null;} the field descriptor for the type
522 * @param basicType basic type corresponding to this type; one of the
584 // Remove the "L...;" around the type and convert "/" to ".".
643 * Gets the name of the class this type corresponds to, in internal
645 * normal reference type (that is, a reference type and
653 throw new IllegalArgumentException("not an object type: " +
687 * Returns whether or not this is a category 1 type.
691 * @return whether or not this is a category 1 type
705 * Returns whether or not this is a category 2 type.
709 * @return whether or not this is a category 2 type
723 * Gets whether this type is "intlike." An intlike type is one which, when
727 * @return whether this type is "intlike"
744 * Gets whether this type is a primitive type. All types are either
747 * @return whether this type is primitive
768 * Gets whether this type is a normal reference type. A normal
769 * reference type is a reference type that is not a return
773 * @return whether this type is a normal reference type
780 * Gets whether this type is an array type. If this method returns
782 * to determine the component type.
784 * @return whether this type is an array type
791 * Gets whether this type is an array type or is a known-null, and
794 * @return whether this type is an array type
801 * Gets whether this type represents an uninitialized instance. An
806 * @return whether this type is "uninitialized"
813 * Gets the bytecode index at which this uninitialized type was
815 * type is an uninitialized incoming parameter (i.e., the
817 * {@code -1} if this type is in fact <i>initialized</i>.
826 * Gets the initialized type corresponding to this instance, but only
827 * if this instance is in fact an uninitialized object type.
829 * @return {@code non-null;} the initialized type
833 throw new IllegalArgumentException("initialized type: " +
841 * Gets the type corresponding to an array of this type.
843 * @return {@code non-null;} the array type
854 * Gets the component type of this type. This method is only valid on
857 * @return {@code non-null;} the component type
862 throw new IllegalArgumentException("not an array type: " +
874 * index. This instance must be an initialized object type.
885 throw new IllegalArgumentException("not a reference type: " +
901 * with "normal" type descriptors
914 * @param type {@code non-null;} instance to make interned
917 private static Type putIntern(Type type) {
919 String descriptor = type.getDescriptor();
924 internTable.put(descriptor, type);
925 return type;