protected function createSupportsDenormalizationMethod($modelFqdn)
{
return new Stmt\ClassMethod('supportsDenormalization', ['type' => Stmt\Class_::MODIFIER_PUBLIC, 'params' => [new Param('data'), new Param('type'), new Param('format', new Expr\ConstFetch(new Name('null')))], 'stmts' => [new Stmt\If_(new Expr\BinaryOp\NotIdentical(new Expr\Variable('type'), new Scalar\String_($modelFqdn)), ['stmts' => [new Stmt\Return_(new Expr\ConstFetch(new Name('false')))]]), new Stmt\Return_(new Expr\ConstFetch(new Name('true')))]]);
}