summaryrefslogtreecommitdiff
path: root/same/src/main/java/com/orbekk/same/Types.java
blob: 3185acfc0327b047cf0ff7e50954644baf33eb08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package com.orbekk.same;

import org.codehaus.jackson.type.TypeReference;

public class Types {
    public final static TypeReference<String> STRING =
            new TypeReference<String>() {};
    public final static TypeReference<Integer> INTEGER =
            new TypeReference<Integer>() {};
    public static <T> TypeReference<T> fromType(Class<T> clazz) {
        return new TypeReference<T>() {};
    }
}