Package com.strobel.reflection
Class SignatureType
- java.lang.Object
-
- com.strobel.reflection.SignatureType
-
public final class SignatureType extends java.lang.ObjectUser: Mike Strobel Date: 1/6/13 Time: 1:07 PM
-
-
Field Summary
Fields Modifier and Type Field Description private SignatureType_erasedSignatureprivate TypeList_parameterTypesprivate Type<?>_returnType
-
Constructor Summary
Constructors Constructor Description SignatureType(Type<?> returnType, TypeList parameterTypes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsGenericParameter(Type<?> genericParameter)booleancontainsGenericParameters()booleanequals(java.lang.Object o)SignatureTypegetErasedSignature()TypeListgetParameterTypes()Type<?>getReturnType()inthashCode()booleanisEquivalentTo(SignatureType other)
-
-
-
Field Detail
-
_returnType
private final Type<?> _returnType
-
_parameterTypes
private final TypeList _parameterTypes
-
_erasedSignature
private SignatureType _erasedSignature
-
-
Method Detail
-
getReturnType
public final Type<?> getReturnType()
-
getParameterTypes
public final TypeList getParameterTypes()
-
getErasedSignature
public final SignatureType getErasedSignature()
-
isEquivalentTo
public final boolean isEquivalentTo(SignatureType other)
-
containsGenericParameters
public final boolean containsGenericParameters()
-
containsGenericParameter
public final boolean containsGenericParameter(Type<?> genericParameter)
-
equals
public final boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-