Check the class and its companion object, and return the class definition.
Check the class and its companion object, and return the class definition.
Return ClassDef
Eval tree.
Eval tree.
Expand the constructor and get the field with assign.
Expand the constructor and get the field with assign.
Expand the constructor and get the field TermName.
Expand the constructor and get the field TermName.
We generate apply method with currying, and we have to deal with the first layer of currying alone.
We generate apply method with currying, and we have to deal with the first layer of currying alone.
A apply method with currying.
apply(int: Int)(j: Int)(k: Option[String])(t: Option[Long]): B3 = new B3(int)(j)(k)(t)
Extract the internal fields of members belonging to the class, but not in primary constructor.
Extract the internal fields of members belonging to the class, but not in primary constructor.
We generate constructor with currying, and we have to deal with the first layer of currying alone.
We generate constructor with currying, and we have to deal with the first layer of currying alone.
A constructor with currying, it not contains tpt, provide for calling method.
TestClass12(i)(j)(k)(t)
Modify the associated object itself according to whether there is an associated object.
Modify the associated object itself according to whether there is an associated object.
The actual processing function
Return the result of modifyAction
Expand the class and check whether the class is a case class.
Expand the class and check whether the class is a case class.
classDef
Return true if it is a case class
Modify companion objects.
Modify companion objects.
Output ast result.
Output ast result.
Wrap tree result with companion object.
Get class if it exists.
Get companion object if it exists.
Get companion object if it exists.
(Since version ) see corresponding Javadoc for more information.
1.0
2021/7/7