public class ImmutableMethodProtoReference extends BaseMethodProtoReference implements ImmutableReference
Reference.InvalidReferenceException| Modifier and Type | Field and Description |
|---|---|
protected com.google.common.collect.ImmutableList<java.lang.String> |
parameters |
protected java.lang.String |
returnType |
| Constructor and Description |
|---|
ImmutableMethodProtoReference(com.google.common.collect.ImmutableList<java.lang.String> parameters,
java.lang.String returnType) |
ImmutableMethodProtoReference(java.lang.Iterable<? extends java.lang.CharSequence> parameters,
java.lang.String returnType) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<? extends java.lang.CharSequence> |
getParameterTypes()
Gets a list of the types of the parameters of this method prototype.
|
java.lang.String |
getReturnType()
Gets the return type of the referenced method prototype.
|
static ImmutableMethodProtoReference |
of(MethodProtoReference methodProtoReference) |
compareTo, equals, hashCode, toStringvalidateReferenceclone, finalize, getClass, notify, notifyAll, wait, wait, waitvalidateReference@Nonnull protected final com.google.common.collect.ImmutableList<java.lang.String> parameters
@Nonnull protected final java.lang.String returnType
public ImmutableMethodProtoReference(@Nullable
com.google.common.collect.ImmutableList<java.lang.String> parameters,
@Nonnull
java.lang.String returnType)
public ImmutableMethodProtoReference(@Nullable
java.lang.Iterable<? extends java.lang.CharSequence> parameters,
@Nonnull
java.lang.String returnType)
@Nonnull public static ImmutableMethodProtoReference of(@Nonnull MethodProtoReference methodProtoReference)
public java.util.List<? extends java.lang.CharSequence> getParameterTypes()
MethodProtoReferencegetParameterTypes in interface MethodProtoReferencepublic java.lang.String getReturnType()
MethodProtoReferencegetReturnType in interface MethodProtoReference