Interface MethodInformation

All Known Implementing Classes:
RuntimeMethodInformation, StaticMethodInformation

public interface MethodInformation
Data that is needed when working with a method in bytecode
Author:
Stuart Douglas
  • Method Details

    • getDeclaringClass

      String getDeclaringClass()
      The declaring class name in java dotted form (e.g. java.lang.String)
    • getMethod

      Method getMethod()
      This may return null if Method is not available yet
    • getDescriptor

      String getDescriptor()
      Gets the method descriptor
    • getParameterTypes

      String[] getParameterTypes()
      returns string representations of the parameter types
    • getReturnType

      String getReturnType()
      Gets the method return type, in descriptor format (e.g. Ljava/lang/String; )
    • getName

      String getName()
      the method name
    • getModifiers

      int getModifiers()
      The method modifiers
      Returns:
      The modifiers