Package com.strobel.reflection
Class SignatureType
- java.lang.Object
-
- com.strobel.reflection.SignatureType
-
public final class SignatureType extends java.lang.Object
User: Mike Strobel Date: 1/6/13 Time: 1:07 PM
-
-
Field Summary
Fields Modifier and Type Field Description private SignatureType
_erasedSignature
private TypeList
_parameterTypes
private 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 boolean
containsGenericParameter(Type<?> genericParameter)
boolean
containsGenericParameters()
boolean
equals(java.lang.Object o)
SignatureType
getErasedSignature()
TypeList
getParameterTypes()
Type<?>
getReturnType()
int
hashCode()
boolean
isEquivalentTo(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:
equals
in classjava.lang.Object
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-