org.jboss.errai.codegen.meta.impl.java
Class JavaReflectionUtil
java.lang.Object
org.jboss.errai.codegen.meta.impl.java.JavaReflectionUtil
public class JavaReflectionUtil
- extends Object
- Author:
- Mike Brock , Jonathan Fuerth
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaReflectionUtil
public JavaReflectionUtil()
fromTypeVariable
public static MetaTypeVariable[] fromTypeVariable(TypeVariable<?>[] typeVariables)
fromTypeArray
public static MetaType[] fromTypeArray(Type[] types)
fromType
public static MetaType fromType(Type t)
- Returns an instance of the appropriate MetaType that wraps the given Java
Reflection Type.
- Parameters:
t
- the Type to wrap in a MetaType
- Returns:
- A (possibly cached) MetaType instance that represents the same
thing as the given Type. Never null.
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.