Packages

sealed abstract class MethodDescriptor extends ConstantValue[MethodDescriptor] with (Int) => FieldType with Ordered[MethodDescriptor]

A method descriptor represents the parameters that the method takes and the value that it returns.

Source
MethodDescriptor.scala
Note

The equals(Any):Boolean method takes the number of parameters and types into account. I.e., two method descriptor objects are equal if they have the same number of parameters and each parameter has the same Type.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MethodDescriptor
  2. Ordered
  3. Comparable
  4. Function1
  5. ConstantValue
  6. BootstrapArgument
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def compare(that: MethodDescriptor): Int
    Definition Classes
    Ordered
  2. abstract def equalParameters(other: MethodDescriptor): Boolean
  3. abstract def hasComputationalTypeCategory2ValueInInit: Boolean

    returns

    true iff a parameter – except of the last one – is a computational type category 2 value; i.e., is a long or double value. If all values are category 1 values, then the parameters are store in the first n registers/local variables.

  4. abstract def parameterType(index: Int): FieldType
  5. abstract def parameterTypes: FieldTypes
  6. abstract def parametersCount: Int
  7. abstract def returnType: Type

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def <(other: MethodDescriptor): Boolean
    Definition Classes
    MethodDescriptor → Ordered
  4. def <=(that: MethodDescriptor): Boolean
    Definition Classes
    Ordered
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def >(that: MethodDescriptor): Boolean
    Definition Classes
    Ordered
  7. def >=(that: MethodDescriptor): Boolean
    Definition Classes
    Ordered
  8. def andThen[A](g: (FieldType) => A): (Int) => A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  9. def apply(parameterIndex: Int): FieldType
    Definition Classes
    MethodDescriptor → Function1
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  12. def compareTo(that: MethodDescriptor): Int
    Definition Classes
    Ordered → Comparable
  13. def compose[A](g: (A) => Int): (A) => FieldType
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  14. final def copy(parameterTypes: FieldTypes = this.parameterTypes, returnType: Type = this.returnType): MethodDescriptor
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  23. def requiredRegisters: Int

    The number of registers required to store the method parameters.

    The number of registers required to store the method parameters.

    Note

    An additional register may be required for storing the self reference this.

  24. def runtimeValueType: ObjectType

    The (runtime) type of the concrete value.

    The (runtime) type of the concrete value.

    Definition Classes
    MethodDescriptorConstantValue
  25. def selectParameter(f: (FieldType) => Boolean): Seq[Int]

    Selects the indexes of the parameters that pass the filter function.

    Selects the indexes of the parameters that pass the filter function.

    Note

    This index is not necessarily identical to the value used to identify the origin of value (a parameter passed to a method).

  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toBoolean: Boolean
    Definition Classes
    ConstantValue
  28. def toByte: Byte
    Definition Classes
    ConstantValue
  29. def toChar: Char
    Definition Classes
    ConstantValue
  30. def toDouble: Double
    Definition Classes
    ConstantValue
  31. def toFloat: Float
    Definition Classes
    ConstantValue
  32. def toInt: Int
    Definition Classes
    ConstantValue
  33. def toJVMDescriptor: String
  34. def toJava(declaringClassName: String, methodName: String): String
  35. def toJava(methodName: String): String
  36. def toJava: String

    Returns a Java like view when a MethodDescriptor is used as a BootstrapArgument.

    Returns a Java like view when a MethodDescriptor is used as a BootstrapArgument.

    Definition Classes
    MethodDescriptorBootstrapArgument
  37. def toLong: Long
    Definition Classes
    ConstantValue
  38. def toReferenceType: ReferenceType
    Definition Classes
    ConstantValue
  39. def toShort: Short
    Definition Classes
    ConstantValue
  40. def toString(): String
    Definition Classes
    MethodDescriptor → Function1 → AnyRef → Any
  41. def toUMLNotation: String
  42. def toUTF8: String
    Definition Classes
    ConstantValue
  43. def value: MethodDescriptor.this.type

    The concrete value.

    The concrete value.

    Definition Classes
    MethodDescriptorConstantValue
  44. def valueToString: String

    A string representation of the concrete value; used for debugging purposes.

    A string representation of the concrete value; used for debugging purposes.

    Definition Classes
    MethodDescriptorConstantValue
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Ordered[MethodDescriptor]

Inherited from (Int) => FieldType

Inherited from BootstrapArgument

Inherited from AnyRef

Inherited from Any

Ungrouped