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:
java.lang.CharSequence
,java.lang.Comparable<java.lang.CharSequence>
,Reference
,TypeReference
,ImmutableReference
public class ImmutableTypeReference extends BaseTypeReference implements ImmutableReference
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jf.dexlib2.iface.reference.Reference
Reference.InvalidReferenceException
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
type
-
Constructor Summary
Constructors Constructor Description ImmutableTypeReference(java.lang.String type)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getType()
Gets the string representation of the referenced type.static com.google.common.collect.ImmutableList<ImmutableTypeReference>
immutableListOf(java.util.List<? extends TypeReference> list)
static ImmutableTypeReference
of(TypeReference typeReference)
-
Methods inherited from class org.jf.dexlib2.base.reference.BaseTypeReference
charAt, compareTo, equals, hashCode, length, subSequence, toString
-
Methods inherited from class org.jf.dexlib2.base.reference.BaseReference
validateReference
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jf.dexlib2.iface.reference.Reference
validateReference
-
-
-
-
Method Detail
-
of
@Nonnull public static ImmutableTypeReference of(@Nonnull TypeReference typeReference)
-
getType
@Nonnull public java.lang.String getType()
Description copied from interface:TypeReference
Gets the string representation of the referenced type. The returned string will be a TypeDescriptor, as defined in the dex file specification- Specified by:
getType
in interfaceTypeReference
- Returns:
- The string representation of the referenced type.
-
immutableListOf
@Nonnull public static com.google.common.collect.ImmutableList<ImmutableTypeReference> immutableListOf(@Nullable java.util.List<? extends TypeReference> list)
-
-