class ChimneyBlackboxMacros extends PatcherMacros with TransformerMacros with DslBlackboxMacros with DerivationGuards with MacroUtils with DerivationConfig
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ChimneyBlackboxMacros
- DerivationConfig
- MacroUtils
- CompanionUtils
- DerivationGuards
- DslBlackboxMacros
- TransformerMacros
- PatcherMacros
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ChimneyBlackboxMacros(c: Context)
Type Members
-
case class
Config(processDefaultValues: Boolean = true, enableBeanGetters: Boolean = false, enableBeanSetters: Boolean = false, optionDefaultsToNone: Boolean = false, overridenFields: Set[String] = Set.empty, renamedFields: Map[String, String] = Map.empty, coproductInstances: Set[(scala.reflect.macros.blackbox.Context.Symbol, scala.reflect.macros.blackbox.Context.Type)] = Set.empty, prefixValName: String = "") extends Product with Serializable
- Definition Classes
- DerivationConfig
-
implicit
class
MethodSymbolOps extends AnyRef
- Definition Classes
- MacroUtils
-
implicit
class
SymbolOps extends AnyRef
- Definition Classes
- MacroUtils
-
implicit
class
TreeOps extends AnyRef
- Definition Classes
- MacroUtils
-
implicit
class
TypeOps extends AnyRef
- Definition Classes
- MacroUtils
-
case class
MatchingSourceAccessor(ms: scala.reflect.macros.Universe.MethodSymbol) extends (TransformerMacros.this)#TargetResolution with Product with Serializable
- Definition Classes
- TransformerMacros
-
case class
ResolvedTargetTree(tree: scala.reflect.macros.Universe.Tree) extends (TransformerMacros.this)#TargetResolution with Product with Serializable
- Definition Classes
- TransformerMacros
-
case class
Target(name: String, tpe: scala.reflect.macros.Universe.Type, kind: Kind) extends Product with Serializable
- Definition Classes
- TransformerMacros
-
sealed
trait
TargetResolution extends AnyRef
- Definition Classes
- TransformerMacros
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
arrayTpe: scala.reflect.macros.Universe.Type
- Definition Classes
- DerivationGuards
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
bothEithers(from: scala.reflect.macros.Universe.Type, to: scala.reflect.macros.Universe.Type): Boolean
- Definition Classes
- DerivationGuards
-
def
bothMaps(from: scala.reflect.macros.Universe.Type, to: scala.reflect.macros.Universe.Type): Boolean
- Definition Classes
- DerivationGuards
-
def
bothOfTraversableOrArray(from: scala.reflect.macros.Universe.Type, to: scala.reflect.macros.Universe.Type): Boolean
- Definition Classes
- DerivationGuards
-
def
bothOptions(from: scala.reflect.macros.Universe.Type, to: scala.reflect.macros.Universe.Type): Boolean
- Definition Classes
- DerivationGuards
-
def
bothSealedClasses(from: scala.reflect.macros.Universe.Type, to: scala.reflect.macros.Universe.Type): Boolean
- Definition Classes
- DerivationGuards
-
val
c: Context
- Definition Classes
- ChimneyBlackboxMacros → DerivationConfig → MacroUtils → CompanionUtils → DerivationGuards → DslBlackboxMacros → TransformerMacros → PatcherMacros
-
def
canTryDeriveTransformer(from: scala.reflect.macros.Universe.Type, to: scala.reflect.macros.Universe.Type): Boolean
- Definition Classes
- DerivationGuards
-
def
captureConfiguration(cfgTpe: scala.reflect.macros.Universe.Type, config: Config = Config()): Config
- Definition Classes
- DslBlackboxMacros
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def derivePatcherImpl[T, Patch](implicit arg0: scala.reflect.macros.blackbox.Context.WeakTypeTag[T], arg1: scala.reflect.macros.blackbox.Context.WeakTypeTag[Patch]): scala.reflect.macros.blackbox.Context.Expr[Patcher[T, Patch]]
- def deriveTransformerImpl[From, To](implicit arg0: scala.reflect.macros.blackbox.Context.WeakTypeTag[From], arg1: scala.reflect.macros.blackbox.Context.WeakTypeTag[To]): scala.reflect.macros.blackbox.Context.Expr[Transformer[From, To]]
-
def
destinationCaseClass(to: scala.reflect.macros.Universe.Type): Boolean
- Definition Classes
- DerivationGuards
-
def
destinationJavaBean(to: scala.reflect.macros.Universe.Type): Boolean
- Definition Classes
- DerivationGuards
-
val
eitherTpe: scala.reflect.macros.Universe.Type
- Definition Classes
- DerivationGuards
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
expandDestinationCaseClass(srcPrefixTree: scala.reflect.macros.Universe.Tree, config: Config)(From: scala.reflect.macros.Universe.Type, To: scala.reflect.macros.Universe.Type): Either[Seq[DerivationError], scala.reflect.macros.Universe.Tree]
- Definition Classes
- TransformerMacros
-
def
expandDestinationJavaBean(srcPrefixTree: scala.reflect.macros.Universe.Tree, config: Config)(From: scala.reflect.macros.Universe.Type, To: scala.reflect.macros.Universe.Type): Either[Seq[DerivationError], scala.reflect.macros.Universe.Tree]
- Definition Classes
- TransformerMacros
-
def
expandEithers(srcPrefixTree: scala.reflect.macros.Universe.Tree, config: Config)(From: scala.reflect.macros.Universe.Type, To: scala.reflect.macros.Universe.Type): Either[Seq[DerivationError], scala.reflect.macros.Universe.Tree]
- Definition Classes
- TransformerMacros
-
def
expandMaps(srcPrefixTree: scala.reflect.macros.Universe.Tree, config: Config)(From: scala.reflect.macros.Universe.Type, To: scala.reflect.macros.Universe.Type): Either[Seq[DerivationError], scala.reflect.macros.Universe.Tree]
- Definition Classes
- TransformerMacros
-
def
expandOptions(srcPrefixTree: scala.reflect.macros.Universe.Tree, config: Config)(From: scala.reflect.macros.Universe.Type, To: scala.reflect.macros.Universe.Type): Either[Seq[DerivationError], scala.reflect.macros.Universe.Tree]
- Definition Classes
- TransformerMacros
-
def
expandSealedClasses(srcPrefixTree: scala.reflect.macros.Universe.Tree, config: Config)(From: scala.reflect.macros.Universe.Type, To: scala.reflect.macros.Universe.Type): Either[Seq[DerivationError], scala.reflect.macros.Universe.Tree]
- Definition Classes
- TransformerMacros
-
def
expandTansform[From, To, C](implicit arg0: scala.reflect.macros.blackbox.Context.WeakTypeTag[From], arg1: scala.reflect.macros.blackbox.Context.WeakTypeTag[To], arg2: scala.reflect.macros.blackbox.Context.WeakTypeTag[C]): scala.reflect.macros.blackbox.Context.Tree
- Definition Classes
- DslBlackboxMacros
-
def
expandTargetWrappedInOption(srcPrefixTree: scala.reflect.macros.Universe.Tree, config: Config)(From: scala.reflect.macros.Universe.Type, To: scala.reflect.macros.Universe.Type): Either[Seq[DerivationError], scala.reflect.macros.Universe.Tree]
- Definition Classes
- TransformerMacros
-
def
expandTransformerTree(srcPrefixTree: scala.reflect.macros.Universe.Tree, config: Config)(From: scala.reflect.macros.Universe.Type, To: scala.reflect.macros.Universe.Type): Either[Seq[DerivationError], scala.reflect.macros.Universe.Tree]
- Definition Classes
- TransformerMacros
-
def
expandTraversableOrArray(srcPrefixTree: scala.reflect.macros.Universe.Tree, config: Config)(From: scala.reflect.macros.Universe.Type, To: scala.reflect.macros.Universe.Type): Either[Seq[DerivationError], scala.reflect.macros.Universe.Tree]
- Definition Classes
- TransformerMacros
-
def
expandTypeToValueClass(srcPrefixTree: scala.reflect.macros.Universe.Tree)(From: scala.reflect.macros.Universe.Type, To: scala.reflect.macros.Universe.Type): Either[Seq[DerivationError], scala.reflect.macros.Universe.Tree]
- Definition Classes
- TransformerMacros
-
def
expandValueClassToType(srcPrefixTree: scala.reflect.macros.Universe.Tree)(From: scala.reflect.macros.Universe.Type, To: scala.reflect.macros.Universe.Type): Either[Seq[DerivationError], scala.reflect.macros.Universe.Tree]
- Definition Classes
- TransformerMacros
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
findLocalImplicitTransformer(From: scala.reflect.macros.Universe.Type, To: scala.reflect.macros.Universe.Type): Option[scala.reflect.macros.Universe.Tree]
- Definition Classes
- TransformerMacros
-
def
fromTypeToValueClass(from: scala.reflect.macros.Universe.Type, to: scala.reflect.macros.Universe.Type): Boolean
- Definition Classes
- DerivationGuards
-
def
fromValueClassToType(from: scala.reflect.macros.Universe.Type, to: scala.reflect.macros.Universe.Type): Boolean
- Definition Classes
- DerivationGuards
-
def
genPatcher[T, Patch]()(implicit arg0: scala.reflect.macros.blackbox.Context.WeakTypeTag[T], arg1: scala.reflect.macros.blackbox.Context.WeakTypeTag[Patch]): scala.reflect.macros.blackbox.Context.Expr[Patcher[T, Patch]]
- Definition Classes
- PatcherMacros
-
def
genTransformer[From, To](config: Config)(implicit arg0: scala.reflect.macros.blackbox.Context.WeakTypeTag[From], arg1: scala.reflect.macros.blackbox.Context.WeakTypeTag[To]): scala.reflect.macros.blackbox.Context.Expr[Transformer[From, To]]
- Definition Classes
- TransformerMacros
-
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
-
def
isSubtype(from: scala.reflect.macros.Universe.Type, to: scala.reflect.macros.Universe.Type): Boolean
- Definition Classes
- DerivationGuards
-
def
iterableOrArray(t: scala.reflect.macros.Universe.Type): Boolean
- Definition Classes
- DerivationGuards
-
val
iterableTpe: scala.reflect.macros.Universe.Type
- Definition Classes
- DerivationGuards
-
val
leftTpe: scala.reflect.macros.Universe.Type
- Definition Classes
- DerivationGuards
-
def
lookupAccessor(config: Config, target: Target, From: scala.reflect.macros.Universe.Type)(ms: scala.reflect.macros.Universe.MethodSymbol): Boolean
- Definition Classes
- TransformerMacros
-
val
mapTpe: scala.reflect.macros.Universe.Type
- Definition Classes
- DerivationGuards
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
val
noneTpe: scala.reflect.macros.Universe.Type
- Definition Classes
- DerivationGuards
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
optionTpe: scala.reflect.macros.Universe.Type
- Definition Classes
- DerivationGuards
-
def
patchedCompanionRef(c: Context)(tpe: scala.reflect.macros.blackbox.Context.Type): scala.reflect.macros.blackbox.Context.Tree
- Definition Classes
- CompanionUtils
-
def
resolveTarget(srcPrefixTree: scala.reflect.macros.Universe.Tree, config: Config, From: scala.reflect.macros.Universe.Type, To: scala.reflect.macros.Universe.Type)(target: Target, fromGetters: Iterable[scala.reflect.macros.Universe.MethodSymbol], targetCaseClass: Option[scala.reflect.macros.Universe.ClassSymbol]): Option[TargetResolution]
- Definition Classes
- TransformerMacros
-
def
resolveTargetArgTrees(srcPrefixTree: scala.reflect.macros.Universe.Tree, config: Config, From: scala.reflect.macros.Universe.Type, To: scala.reflect.macros.Universe.Type)(mapping: Iterable[(Target, Option[TargetResolution])]): (Seq[DerivationError], Iterable[scala.reflect.macros.Universe.Tree])
- Definition Classes
- TransformerMacros
-
val
rightTpe: scala.reflect.macros.Universe.Type
- Definition Classes
- DerivationGuards
-
val
someTpe: scala.reflect.macros.Universe.Type
- Definition Classes
- DerivationGuards
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
targetWrappedInOption(from: scala.reflect.macros.Universe.Type, to: scala.reflect.macros.Universe.Type): Boolean
- Definition Classes
- DerivationGuards
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def transformImpl[From, To, C](implicit arg0: scala.reflect.macros.blackbox.Context.WeakTypeTag[From], arg1: scala.reflect.macros.blackbox.Context.WeakTypeTag[To], arg2: scala.reflect.macros.blackbox.Context.WeakTypeTag[C]): scala.reflect.macros.blackbox.Context.Expr[To]
-
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( ... )
-
object
Target extends Serializable
- Definition Classes
- TransformerMacros