 <p>Hope I understood it right. Basically you want a mapping from primitive class types to their wrapper methods.</p> <p>A static utility method implemented in some Utility class would be an elegant solution, because you would use the conversion like this:</p> <pre><code>Class&lt;?&gt; wrapper = convertToWrapper(int.class); </code></pre> <p>Alternatively, declare and populate a static map:</p> <pre><code>public final static Map&lt;Class&lt;?&gt;, Class&lt;?&gt;&gt; map = new HashMap&lt;Class&lt;?&gt;, Class&lt;?&gt;&gt;(); static { map.put(boolean.class, Boolean.class); map.put(byte.class, Byte.class); map.put(short.class, Short.class); map.put(char.class, Character.class); map.put(int.class, Integer.class); map.put(long.class, Long.class); map.put(float.class, Float.class); map.put(double.class, Double.class); } private Class&lt;?&gt; clazz = map.get(int.class); // usage </code></pre>