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.
- Note
The
equals(Any):Booleanmethod 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.
- Alphabetic
- By Inheritance
- MethodDescriptor
- Ordered
- Comparable
- Function1
- ConstantValue
- BootstrapArgument
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
- abstract def equalParameters(other: MethodDescriptor): Boolean
-
abstract
def
hasComputationalTypeCategory2ValueInInit: Boolean
- returns
trueiff 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.
- abstract def parameterType(index: Int): FieldType
- abstract def parameterTypes: FieldTypes
- abstract def parametersCount: Int
- abstract def returnType: Type
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
<(other: MethodDescriptor): Boolean
- Definition Classes
- MethodDescriptor → Ordered
-
def
<=(that: MethodDescriptor): Boolean
- Definition Classes
- Ordered
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
>(that: MethodDescriptor): Boolean
- Definition Classes
- Ordered
-
def
>=(that: MethodDescriptor): Boolean
- Definition Classes
- Ordered
-
def
andThen[A](g: (FieldType) ⇒ A): (Int) ⇒ A
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
def
apply(parameterIndex: Int): FieldType
- Definition Classes
- MethodDescriptor → Function1
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
compare(other: MethodDescriptor): Int
- Definition Classes
- MethodDescriptor → Ordered
-
def
compareTo(that: MethodDescriptor): Int
- Definition Classes
- Ordered → Comparable
-
def
compose[A](g: (A) ⇒ Int): (A) ⇒ FieldType
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- final def copy(parameterTypes: FieldTypes = this.parameterTypes, returnType: Type = this.returnType): MethodDescriptor
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
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.
-
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).
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toBoolean: Boolean
- Definition Classes
- ConstantValue
-
def
toByte: Byte
- Definition Classes
- ConstantValue
-
def
toChar: Char
- Definition Classes
- ConstantValue
-
def
toDouble: Double
- Definition Classes
- ConstantValue
-
def
toFloat: Float
- Definition Classes
- ConstantValue
-
def
toInt: Int
- Definition Classes
- ConstantValue
- def toJVMDescriptor: String
- def toJava(declaringClassName: String, methodName: String): String
- def toJava(methodName: String): String
-
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
- MethodDescriptor → BootstrapArgument
-
def
toLong: Long
- Definition Classes
- ConstantValue
-
def
toReferenceType: ReferenceType
- Definition Classes
- ConstantValue
-
def
toShort: Short
- Definition Classes
- ConstantValue
-
def
toString(): String
- Definition Classes
- MethodDescriptor → Function1 → AnyRef → Any
- def toUMLNotation: String
-
def
toUTF8: String
- Definition Classes
- ConstantValue
-
def
value: MethodDescriptor.this.type
The concrete value.
The concrete value.
- Definition Classes
- MethodDescriptor → ConstantValue
-
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
- MethodDescriptor → ConstantValue
-
def
valueType: ObjectType
The (runtime) type of the concrete value.
The (runtime) type of the concrete value.
- Definition Classes
- MethodDescriptor → ConstantValue
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )