Packages

object SMethod extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SMethod
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type InvokeDescBuilder = (SFunc) ⇒ Seq[SType]

    Some runtime methods (like Coll.map, Coll.flatMap) require additional RType descriptors.

    Some runtime methods (like Coll.map, Coll.flatMap) require additional RType descriptors. The builder can extract those descriptors from the given type of the method signature.

  2. abstract class MethodCostFunc extends (ErgoTreeEvaluator, MethodCall, Any, Array[Any]) ⇒ CostDetails

    Type of functions used to assign cost to method call nodes.

    Type of functions used to assign cost to method call nodes. For a function f: (mc, obj, args) => cost it is called before the evaluation of the mc node with the given obj as method receiver and args as method arguments.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val MethodCallIrBuilder: PartialFunction[(SigmaBuilder, SValue, SMethod, Seq[SValue], STypeSubst), SValue]

    Default fallback method call recognizer which builds MethodCall ErgoTree nodes.

  5. def apply(objType: STypeCompanion, name: String, stype: SFunc, methodId: Byte, costKind: CostKind): SMethod

    Convenience factory method.

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def fromIds(typeId: Byte, methodId: Byte): SMethod

    Looks up SMethod instance for the given type and method ids.

    Looks up SMethod instance for the given type and method ids.

    typeId

    id of a type which can contain methods

    methodId

    id of a method of the type given by typeId

    returns

    an instance of SMethod which may contain generic type variables in the signature (see SMethod.stype). As a result specializeFor is called by deserializer to obtain monomorphic method descriptor.

  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. def givenCost(costKind: FixedCost): MethodCostFunc

    Returns a cost function which always returs the given cost.

  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def javaMethodOf[T, A1, A2](methodName: String)(implicit cT: ClassTag[T], cA1: ClassTag[A1], cA2: ClassTag[A2]): Method

    Return Method descriptor for the given methodName on the given cT type.

    Return Method descriptor for the given methodName on the given cT type.

    methodName

    the name of the method to lookup

    cT

    the class where to search the methodName

    cA1

    the class of the method's first argument

    cA2

    the class of the method's second argument

  16. def javaMethodOf[T, A1](methodName: String)(implicit cT: ClassTag[T], cA1: ClassTag[A1]): Method

    Return Method descriptor for the given methodName on the given cT type.

    Return Method descriptor for the given methodName on the given cT type.

    methodName

    the name of the method to lookup

    cT

    the class where to search the methodName

    cA1

    the class of the method argument

  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  20. def perItemCost(costKind: PerItemCost): MethodCostFunc

    Returns a cost function which expects obj to be of Coll[T] type and uses its length to compute SeqCostItem

  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

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

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped