public class ImmutableTypeReference extends BaseTypeReference implements ImmutableReference
Reference.InvalidReferenceException| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
type |
| Constructor and Description |
|---|
ImmutableTypeReference(java.lang.String type) |
| Modifier and Type | Method and 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) |
charAt, compareTo, equals, hashCode, length, subSequence, toStringvalidateReferenceclone, finalize, getClass, notify, notifyAll, wait, wait, waitvalidateReference@Nonnull public static ImmutableTypeReference of(@Nonnull TypeReference typeReference)
@Nonnull public java.lang.String getType()
TypeReferencegetType in interface TypeReference@Nonnull public static com.google.common.collect.ImmutableList<ImmutableTypeReference> immutableListOf(@Nullable java.util.List<? extends TypeReference> list)