Package iota

Class Method

java.lang.Object
iota.Method

class Method extends Object
This class provides a wrapper for a method.
  • Constructor Details

    • Method

      public Method(Method method)
      Constructs a method given its internal representation.
      Parameters:
      method - the internal representation.
  • Method Details

    • returnType

      public Type returnType()
      Returns this method's return type.
      Returns:
      this method's return type.
    • name

      public String name()
      Returns this method's (simple) name.
      Returns:
      this method's (simple) name.
    • toDescriptor

      public String toDescriptor()
      Returns the JVM descriptor for this method.
      Returns:
      the JVM descriptor for this method.
    • member

      protected Member member()
      Returns this method's internal representation.
      Returns:
      this method's internal representation.