Package com.google.turbine.type
Class Type.MethodTy
- java.lang.Object
-
- com.google.turbine.type.Type.MethodTy
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.google.turbine.type.Type
Type.ArrayTy, Type.ClassTy, Type.ErrorTy, Type.IntersectionTy, Type.MethodTy, Type.PrimTy, Type.TyKind, Type.TyVar, Type.WildLowerBoundedTy, Type.WildTy, Type.WildUnboundedTy, Type.WildUpperBoundedTy
-
-
Constructor Summary
Constructors Constructor Description MethodTy()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static Type.MethodTycreate(com.google.common.collect.ImmutableSet<TyVarSymbol> tyParams, Type returnType, Type receiverType, com.google.common.collect.ImmutableList<Type> parameters, com.google.common.collect.ImmutableList<Type> thrown)abstract inthashCode()abstract com.google.common.collect.ImmutableList<Type>parameters()abstract @Nullable TypereceiverType()The type of the receiver parameter (see JLS 8.4.1).abstract TypereturnType()abstract com.google.common.collect.ImmutableList<Type>thrown()java.lang.StringtoString()Type.TyKindtyKind()The type kind.abstract com.google.common.collect.ImmutableSet<TyVarSymbol>tyParams()
-
-
-
Method Detail
-
tyParams
public abstract com.google.common.collect.ImmutableSet<TyVarSymbol> tyParams()
-
returnType
public abstract Type returnType()
-
receiverType
public abstract @Nullable Type receiverType()
The type of the receiver parameter (see JLS 8.4.1).
-
parameters
public abstract com.google.common.collect.ImmutableList<Type> parameters()
-
thrown
public abstract com.google.common.collect.ImmutableList<Type> thrown()
-
create
public static Type.MethodTy create(com.google.common.collect.ImmutableSet<TyVarSymbol> tyParams, Type returnType, Type receiverType, com.google.common.collect.ImmutableList<Type> parameters, com.google.common.collect.ImmutableList<Type> thrown)
-
tyKind
public Type.TyKind tyKind()
Description copied from interface:TypeThe type kind.
-
toString
public final java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hashCode
@Memoized public abstract int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-