Class ImmutableTypeReference
java.lang.Object
org.jf.dexlib2.base.reference.BaseReference
org.jf.dexlib2.base.reference.BaseTypeReference
org.jf.dexlib2.immutable.reference.ImmutableTypeReference
- All Implemented Interfaces:
CharSequence, Comparable<CharSequence>, Reference, TypeReference, ImmutableReference
-
Nested Class Summary
Nested classes/interfaces inherited from interface Reference
Reference.InvalidReferenceException -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final ImmutableConverter<ImmutableTypeReference, TypeReference> protected final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetType()Gets the string representation of the referenced type.static com.google.common.collect.ImmutableList<ImmutableTypeReference> immutableListOf(List<? extends TypeReference> list) static ImmutableTypeReferenceof(TypeReference typeReference) Methods inherited from class BaseTypeReference
charAt, compareTo, equals, hashCode, length, subSequence, toStringMethods inherited from class BaseReference
validateReferenceMethods inherited from interface CharSequence
chars, codePoints, getChars, isEmptyMethods inherited from interface Reference
validateReference
-
Field Details
-
type
-
CONVERTER
-
-
Constructor Details
-
ImmutableTypeReference
-
-
Method Details
-
of
-
getType
Description copied from interface:TypeReferenceGets the string representation of the referenced type. The returned string will be a TypeDescriptor, as defined in the dex file specification- Specified by:
getTypein interfaceTypeReference- Returns:
- The string representation of the referenced type.
-
immutableListOf
@Nonnull public static com.google.common.collect.ImmutableList<ImmutableTypeReference> immutableListOf(@Nullable List<? extends TypeReference> list)
-