Creates a trait use adaptation builder.
Node\Name|string|null $trait Name of adapted trait:
Node\Identifier|string $method Name of adapted method:
public function __construct($trait, $method) { $this->type = self::TYPE_UNDEFINED; $this->trait = is_null($trait) ? null : BuilderHelpers::normalizeName($trait); $this->method = BuilderHelpers::normalizeIdentifier($method); }