Class MethodTypeSignature


  • public class MethodTypeSignature
    extends HierarchicalTypeSignature
    A method type signature (called "MethodSignature" in the classfile documentation).
    • Field Detail

      • scanResult

        protected transient ScanResult scanResult
    • Constructor Detail

      • MethodTypeSignature

        public MethodTypeSignature​(List<TypeParameter> typeParameters,
                                   List<TypeSignature> paramTypes,
                                   TypeSignature resultType,
                                   List<ClassRefOrTypeVariableSignature> throwsSignatures)
        Parameters:
        typeParameters - The type parameters for the method.
        paramTypes - The parameter types for the method.
        resultType - The return type for the method.
        throwsSignatures - The throws signatures for the method.
    • Method Detail

      • getResultType

        public TypeSignature getResultType()
        Get the result type for the method.
        Returns:
        The result type for the method, as a TypeSignature parsed type object.
      • getClassNamesFromTypeDescriptors

        public void getClassNamesFromTypeDescriptors​(Set<String> classNameListOut)
      • getClassName

        protected String getClassName()
      • getClassInfo

        protected ClassInfo getClassInfo()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object