Class MethodInfo

    • Field Detail

      • desc

        private java.lang.String desc
        The method descriptor.
      • signature

        private java.lang.String signature
        The signature of the method.
      • exceptions

        private java.lang.String[] exceptions
        An array of the exceptions thrown by this method.
    • Constructor Detail

      • MethodInfo

        public MethodInfo​(int access,
                          java.lang.String name,
                          java.lang.String desc,
                          java.lang.String signature,
                          java.lang.String[] exceptions)
        Create a new MethodInfo with the specified parameters.
        Parameters:
        access - The access flags for the method.
        name - The name of the method.
        signature - The signature of the method.
        exceptions - The exceptions thrown by the method.
    • Method Detail

      • getDesc

        public final java.lang.String getDesc()
        Get the descriptor for the method.
        Returns:
        the descriptor
      • getSignature

        public final java.lang.String getSignature()
        Get the signature for the method.
        Returns:
        the signature
      • getExceptions

        public final java.lang.String[] getExceptions()
        Get the array of exceptions which can be thrown by the method.
        Returns:
        the exceptions as a String[] of internal names.