Package com.strobel.assembler.metadata
Class RawMethod
java.lang.Object
com.strobel.assembler.metadata.MemberReference
com.strobel.assembler.metadata.MethodReference
com.strobel.assembler.metadata.RawMethod
- All Implemented Interfaces:
IAnnotationsProvider
,IGenericContext
,IGenericInstance
,IGenericParameterProvider
,IMetadataTypeMember
,IMethodSignature
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MethodReference
private TypeReference
private final ParameterDefinitionCollection
private final TypeReference
Fields inherited from class com.strobel.assembler.metadata.MethodReference
CONSTRUCTOR_NAME, STATIC_INITIALIZER_NAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal MethodReference
final TypeReference
final List
<GenericParameter> final String
getName()
final List
<ParameterDefinition> final TypeReference
final List
<TypeReference> final boolean
boolean
resolve()
(package private) final void
setDeclaringType
(TypeReference declaringType) Methods inherited from class com.strobel.assembler.metadata.MethodReference
appendErasedSignature, appendErasedSignature, appendName, appendSignature, appendSignature, containsGenericParameters, findTypeVariable, getThrownTypes, hasGenericParameters, hasParameters, invalidateSignature, isConstructor, isEquivalentTo, isGenericDefinition, isSpecialName, isTypeInitializer
Methods inherited from class com.strobel.assembler.metadata.MemberReference
getAnnotations, getErasedSignature, getFullName, getSignature, hasAnnotations, isDefinition, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.strobel.assembler.metadata.IMethodSignature
getErasedSignature, getSignature
-
Field Details
-
_baseMethod
-
_returnType
-
_parameters
-
_declaringType
-
-
Constructor Details
-
RawMethod
-
-
Method Details
-
getBaseMethod
-
hasTypeArguments
public final boolean hasTypeArguments()- Specified by:
hasTypeArguments
in interfaceIGenericInstance
-
getTypeArguments
- Specified by:
getTypeArguments
in interfaceIGenericInstance
-
getGenericDefinition
- Specified by:
getGenericDefinition
in interfaceIGenericInstance
-
getGenericParameters
- Specified by:
getGenericParameters
in interfaceIGenericParameterProvider
- Overrides:
getGenericParameters
in classMethodReference
-
getReturnType
- Specified by:
getReturnType
in interfaceIMethodSignature
- Specified by:
getReturnType
in classMethodReference
-
getParameters
- Specified by:
getParameters
in interfaceIMethodSignature
- Specified by:
getParameters
in classMethodReference
-
isGenericMethod
public boolean isGenericMethod()- Overrides:
isGenericMethod
in classMethodReference
-
resolve
- Overrides:
resolve
in classMethodReference
-
getDeclaringType
- Specified by:
getDeclaringType
in interfaceIMetadataTypeMember
- Specified by:
getDeclaringType
in classMemberReference
-
setDeclaringType
-
getName
- Specified by:
getName
in interfaceIMetadataTypeMember
- Specified by:
getName
in classMemberReference
-