org.jboss.errai.marshalling.client.util
Class SimpleTypeLiteral<T>
java.lang.Object
org.jboss.errai.marshalling.client.util.SimpleTypeLiteral<T>
public class SimpleTypeLiteral<T>
- extends Object
A simplified version of java.enterprise.util.TypeLiteral that does complete erasure for use in
the marshalling API where one needs to return an erased type class instance, but the class parameterization makes
that impossible.
- Author:
- Mike Brock
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ofRawType
public static <T> SimpleTypeLiteral<T> ofRawType(Class rawType)
get
public Class<T> get()
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.