c

com.avsystem.commons.rpc

rpcNamePrefix

class rpcNamePrefix extends Annotation with RealSymAnnotation

You can use this annotation on real RPC methods to instruct macro engine to prepend method name (or rpcName if specified) with given prefix. This annotation is mostly useful when aggregated by another annotation e.g.

sealed trait RestMethod extends RpcTag
final class GET extends RestMethod with AnnotationAggregate {
  @rpcNamePrefix("GET_") type Implied
}
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. rpcNamePrefix
  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 rpcNamePrefix(prefix: String, overloadedOnly: Boolean = false)

Value Members

  1. val overloadedOnly: Boolean
  2. val prefix: String