Class/Object

org.opalj.br

MethodDescriptor

Related Docs: object MethodDescriptor | package br

Permalink

sealed abstract class MethodDescriptor extends ConstantValue[MethodDescriptor] with Ordered[MethodDescriptor]

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

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.

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

Abstract Value Members

  1. abstract def equalParameters(other: MethodDescriptor): Boolean

    Permalink
  2. abstract def parameterType(index: Int): FieldType

    Permalink
  3. abstract def parameterTypes: IndexedSeq[FieldType]

    Permalink
  4. abstract def parametersCount: Int

    Permalink
  5. abstract def returnType: Type

    Permalink

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def <(other: MethodDescriptor): Boolean

    Permalink
    Definition Classes
    MethodDescriptor → Ordered
  4. def <=(that: MethodDescriptor): Boolean

    Permalink
    Definition Classes
    Ordered
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def >(that: MethodDescriptor): Boolean

    Permalink
    Definition Classes
    Ordered
  7. def >=(that: MethodDescriptor): Boolean

    Permalink
    Definition Classes
    Ordered
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def compare(other: MethodDescriptor): Int

    Permalink
    Definition Classes
    MethodDescriptor → Ordered
  11. def compareTo(that: MethodDescriptor): Int

    Permalink
    Definition Classes
    Ordered → Comparable
  12. final def copy(parameterTypes: IndexedSeq[FieldType] = this.parameterTypes, returnType: Type = this.returnType): MethodDescriptor

    Permalink
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. def requiredRegisters: Int

    Permalink

    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.

  23. def selectParameter(f: (FieldType) ⇒ Boolean): Seq[Int]

    Permalink

    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.)

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toBoolean: Boolean

    Permalink
    Definition Classes
    ConstantValue
  26. def toByte: Byte

    Permalink
    Definition Classes
    ConstantValue
  27. def toChar: Char

    Permalink
    Definition Classes
    ConstantValue
  28. def toDouble: Double

    Permalink
    Definition Classes
    ConstantValue
  29. def toFloat: Float

    Permalink
    Definition Classes
    ConstantValue
  30. def toInt: Int

    Permalink
    Definition Classes
    ConstantValue
  31. def toJVMDescriptor: String

    Permalink
  32. def toJava(declaringClassName: String, methodName: String): String

    Permalink
  33. def toJava(methodName: String): String

    Permalink
  34. def toJava: String

    Permalink

    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
  35. def toLong: Long

    Permalink
    Definition Classes
    ConstantValue
  36. def toReferenceType: ReferenceType

    Permalink
    Definition Classes
    ConstantValue
  37. def toShort: Short

    Permalink
    Definition Classes
    ConstantValue
  38. def toString(): String

    Permalink
    Definition Classes
    MethodDescriptor → AnyRef → Any
  39. def toUMLNotation: String

    Permalink
  40. def toUTF8: String

    Permalink
    Definition Classes
    ConstantValue
  41. def value: MethodDescriptor.this.type

    Permalink

    The concrete value.

    The concrete value.

    Definition Classes
    MethodDescriptorConstantValue
  42. def valueToString: String

    Permalink

    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
  43. def valueType: ObjectType

    Permalink

    The (runtime) type of the concrete value.

    The (runtime) type of the concrete value.

    Definition Classes
    MethodDescriptorConstantValue
  44. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Ordered[MethodDescriptor]

Inherited from Comparable[MethodDescriptor]

Inherited from BootstrapArgument

Inherited from AnyRef

Inherited from Any

Ungrouped