| Modifier and Type | Field and Description |
|---|---|
| private final List | parameterTypeSignatures
The method parameter type signatures. |
| private AnnotationInfoList | receiverTypeAnnotationInfo
Any type annotation(s) on an explicit receiver parameter. |
| private final TypeSignature | resultType
The method result type. |
| private final List | throwsSignatures
The throws type signatures. |
| pack-priv final List | typeParameters
The method type parameters. |
| Access | Constructor and Description |
|---|---|
| private | MethodTypeSignature(final List<TypeParameter>
The type parameters for the method. typeParameters, final List<TypeSignature> The parameter types for the method. paramTypes, final TypeSignature The return type for the method. resultType, final List<ClassRefOrTypeVariableSignature> The throws signatures for the method. throwsSignatures)Constructor. |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | addRecieverTypeAnnotation(final AnnotationInfo
the receiver type annotation annotationInfo)Add a type annotation for an explicit receiver parameter. |
| protected void | addTypeAnnotation(final List<Classfile.
the type path typePath,the annotation annotationInfo)Implements abstract io. Add a type annotation. |
| public boolean | equals(final Object
the reference object with which to compare. obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| protected void | findReferencedClassInfo(final Map<String, ClassInfo>
the map from class name to classNameToClassInfo, final Set<ClassInfo> ClassInfo.the referenced class info refdClassInfo, final LogNode the log log)Overrides io. Get |
| protected void | findReferencedClassNames(final Set<String>
the referenced class names. refdClassNames)Get the names of any classes referenced in the type signature. |
| protected ClassInfo | getClassInfo()
Overrides io. Get the |
| protected String | getClassName()
Implements abstract io. The name of the class (used by |
| pack-priv List | Returns: The parameter types for the method, asTypeSignature parsed type objects.Get the type signatures of the method parameters. |
| public AnnotationInfoList | Returns: type annotations on the explicit receiver parameter, or null if none.Get type annotations on the explicit receiver parameter, or null if none. |
| public TypeSignature | Returns: The result type for the method, as aTypeSignature parsed type object.Get the result type for the method. |
| public List | Returns: The throws types for the method, asTypeSignature parsed type objects.Get the throws type(s) for the method. |
| public List | Returns: The type parameters for the method, if any, otherwise null.Get the type parameters for the method, if this is a generic method. |
| public int | |
| pack-priv static MethodTypeSignature | |
| pack-priv void | setScanResult(final ScanResult
the scan result scanResult)Overrides io. Set ScanResult backreferences in info objects after scan has completed. |
| protected void | toStringInternal(final boolean
whether to use simple names for classes. useSimpleNames, final AnnotationInfoList toplevel annotations to exclude, to eliminate duplication (toplevel annotations are both
class/field/method annotations and type annotations). annotationsToExclude, final StringBuilder the buf)StringBuilder to write to.Implements abstract io. Render type signature to string. |
| parameterTypeSignatures | back to summary |
|---|---|
| private final List<TypeSignature> parameterTypeSignatures The method parameter type signatures. | |
| receiverTypeAnnotationInfo | back to summary |
|---|---|
| private AnnotationInfoList receiverTypeAnnotationInfo Any type annotation(s) on an explicit receiver parameter. | |
| resultType | back to summary |
|---|---|
| private final TypeSignature resultType The method result type. | |
| throwsSignatures | back to summary |
|---|---|
| private final List<ClassRefOrTypeVariableSignature> throwsSignatures The throws type signatures. | |
| typeParameters | back to summary |
|---|---|
| pack-priv final List<TypeParameter> typeParameters The method type parameters. | |
| MethodTypeSignature | back to summary |
|---|---|
| private MethodTypeSignature(final List<TypeParameter> typeParameters, final List<TypeSignature> paramTypes, final TypeSignature resultType, final List<ClassRefOrTypeVariableSignature> throwsSignatures) Constructor.
| |
| addRecieverTypeAnnotation | back to summary |
|---|---|
| pack-priv void addRecieverTypeAnnotation(final AnnotationInfo annotationInfo) Add a type annotation for an explicit receiver parameter.
| |
| addTypeAnnotation | back to summary |
|---|---|
| protected void addTypeAnnotation(final List<Classfile. Implements abstract io. Doc from io. Add a type annotation.
| |
| equals | back to summary |
|---|---|
| public boolean equals(final Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| findReferencedClassInfo | back to summary |
|---|---|
| protected void findReferencedClassInfo(final Map<String, ClassInfo> classNameToClassInfo, final Set<ClassInfo> refdClassInfo, final LogNode log) Overrides io. Get | |
| findReferencedClassNames | back to summary |
|---|---|
| protected void findReferencedClassNames(final Set<String> refdClassNames) Get the names of any classes referenced in the type signature. | |
| getClassInfo | back to summary |
|---|---|
| protected ClassInfo getClassInfo() Overrides io. Doc from io. Get the | |
| getClassName | back to summary |
|---|---|
| protected String getClassName() Implements abstract io. Doc from io. The name of the class (used by | |
| getParameterTypeSignatures | back to summary |
|---|---|
| pack-priv List Get the type signatures of the method parameters. N.B. this is non-public, since the types have to be aligned
with other parameter metadata. The type of a parameter can be obtained post-alignment from the parameter's
| |
| getReceiverTypeAnnotationInfo | back to summary |
|---|---|
| public AnnotationInfoList getReceiverTypeAnnotationInfo() Get type annotations on the explicit receiver parameter, or null if none.
| |
| getResultType | back to summary |
|---|---|
| public TypeSignature getResultType() Get the result type for the method.
| |
| getThrowsSignatures | back to summary |
|---|---|
| public List Get the throws type(s) for the method.
| |
| getTypeParameters | back to summary |
|---|---|
| public List Get the type parameters for the method, if this is a generic method.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| parse | back to summary |
|---|---|
| pack-priv static MethodTypeSignature parse(final String typeDescriptor, final String definingClassName) throws ParseException Parse a method signature.
| |
| setScanResult | back to summary |
|---|---|
| pack-priv void setScanResult(final ScanResult scanResult) Overrides io. Doc from io. Set ScanResult backreferences in info objects after scan has completed.
| |
| toStringInternal | back to summary |
|---|---|
| protected void toStringInternal(final boolean useSimpleNames, final AnnotationInfoList annotationsToExclude, final StringBuilder buf) Implements abstract io. Doc from io. Render type signature to string.
| |