Class SClassReader.MethodInfo

Enclosing class:
SClassReader

public static class SClassReader.MethodInfo extends SClassReader.ClassEntity
Info object describing a method.
  • Field Details

    • methodname

      protected String methodname
      The method name.
    • methoddesc

      protected String methoddesc
      The method descriptor.
    • signature

      protected String signature
      The method signature (cached).
  • Constructor Details

    • MethodInfo

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

    • getMethodName

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

      public String getMethodDescriptor()
      Get the method descriptor.
      Returns:
      the method descriptor.
    • getMethodSignature

      public String getMethodSignature()
      Returns a String representation of the method signature.
      Returns:
      Method signature.
    • setMethodName

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

      protected void setMethodDescriptor(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 String toString()
      Overrides:
      toString in class Object