Package com.strobel.assembler.metadata
Interface IMethodSignature
- All Superinterfaces:
IGenericContext
,IGenericParameterProvider
- All Known Implementing Classes:
CoreMetadataFactory.MethodSignature
,GenericMethodInstance
,MetadataParser.UnresolvedMethod
,MethodDefinition
,MethodReference
,RawMethod
,RecordTypeDefinition.RecordMethod
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
Invalidate any signature information.Methods inherited from interface com.strobel.assembler.metadata.IGenericContext
findTypeVariable
Methods inherited from interface com.strobel.assembler.metadata.IGenericParameterProvider
getGenericParameters, hasGenericParameters, isGenericDefinition
-
Method Details
-
hasParameters
boolean hasParameters() -
getParameters
List<ParameterDefinition> getParameters() -
getReturnType
TypeReference getReturnType() -
getThrownTypes
List<TypeReference> getThrownTypes() -
getSignature
String getSignature() -
getErasedSignature
String getErasedSignature() -
invalidateSignature
void invalidateSignature()Invalidate any signature information. This is not guaranteed to be thread-safe, should only be called when a partially constructed method definition changes, e.g., by changing the return type or parameter types.
-