c

com.avsystem.commons.rpc

encodingDependency

final class encodingDependency extends Annotation with RealSymAnnotation

When applied on a real parameter, this parameter becomes an implicit dependency for encoders (AsRaw and AsReal instances) of other parameters of the same method and for encoder of that method's result.

This is primarily useful for generic (type-parameterized) real methods where an ad-hoc (per each call) encoding must be provided for type parameters.

NOTE: @encodingDependency parameters are serialized before other parameters, regardless of parameter declaration order.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. encodingDependency
  2. RealSymAnnotation
  3. StaticAnnotation
  4. Annotation
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new encodingDependency()