// Path: library/src/main/java/com/sys1yagi/fragmentcreator/ArgsSerializer.java
// public interface ArgsSerializer<From, To> {
// 
//     To serialize(From from);
// 
//     From deserialize(To to);
// }


import com.sys1yagi.fragmentcreator.ArgsSerializer;
import com.sys1yagi.fragmentcreator.annotation.Args;
import com.sys1yagi.fragmentcreator.annotation.FragmentCreator;
import com.sys1yagi.fragmentcreator.annotation.Serializer;
import androidx.fragment.app.Fragment;
package com.sys1yagi.fragmentcreator.fragment;



@FragmentCreator
public class MainFragment extends Fragment {

    @Args
    @Serializer(to = String.class, serializer = StringSerializer.class)
    int id;

// Path: library/src/main/java/com/sys1yagi/fragmentcreator/ArgsSerializer.java
// public interface ArgsSerializer<From, To> {
// 
//     To serialize(From from);
// 
//     From deserialize(To to);
// }


// Path: processor/src/test/assets/TypeSerializerFragment.java
import com.sys1yagi.fragmentcreator.ArgsSerializer;
import com.sys1yagi.fragmentcreator.annotation.Args;
import com.sys1yagi.fragmentcreator.annotation.FragmentCreator;
import com.sys1yagi.fragmentcreator.annotation.Serializer;
import androidx.fragment.app.Fragment;

package com.sys1yagi.fragmentcreator.fragment;



@FragmentCreator
public class MainFragment extends Fragment {

    @Args
    @Serializer(to = String.class, serializer = StringSerializer.class)
    int id;

    static class StringSerializer implements ArgsSerializer<Integer, String> {