Package jadex.commons

Class SClassReader.MethodInfo

    • Field Detail

      • methodname

        protected java.lang.String methodname
        The method name.
      • methoddesc

        protected java.lang.String methoddesc
        The method descriptor.
    • Constructor Detail

      • MethodInfo

        protected MethodInfo()
        Create mew method info.
    • Method Detail

      • getMethodName

        public java.lang.String getMethodName()
        Get the method name.
        Returns:
        the method name.
      • getMethodDescriptor

        public java.lang.String getMethodDescriptor()
        Get the method descriptor.
        Returns:
        the method descriptor.
      • setMethodName

        protected void setMethodName​(java.lang.String methodname)
        Set the method name.
        Parameters:
        methodname - the method name to set
      • setMethodDescriptor

        protected void setMethodDescriptor​(java.lang.String methoddesc)
        Set the method descriptor.
        Parameters:
        methoddesc - the method descriptor to set
      • isSynchronized

        public boolean isSynchronized()
        Tests if method is synchronized.
        Returns:
        True, if synchronized.
      • isBridge

        public boolean isBridge()
        Tests if method is a bridge method.
        Returns:
        True, if bridge method.
      • isVarArgs

        public boolean isVarArgs()
        Tests if method is a varargs method.
        Returns:
        True, if varargs method.
      • isNative

        public boolean isNative()
        Tests if method is a native method.
        Returns:
        True, if native method.
      • isAbstract

        public boolean isAbstract()
        Tests if method is abstract.
        Returns:
        True, if abstract.
      • isStrict

        public boolean isStrict()
        Tests if method is strict.
        Returns:
        True, if strict.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object