public final class TypeRepresentation extends Object implements ParameterizedType
| Constructor and Description |
|---|
TypeRepresentation(Type type)
Constructor from a java Type.
|
| Modifier and Type | Method and Description |
|---|---|
Type[] |
getActualTypeArguments() |
Type |
getOwnerType() |
Type |
getRawType() |
void |
setClassLoader(ClassLoader loader)
Set the class loader to be used by toType(), getRawType(), etc.
|
Type |
toType() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTypeNamepublic TypeRepresentation(Type type) throws UnsupportedTypeException
type - The type to representUnsupportedTypeExceptionpublic void setClassLoader(ClassLoader loader)
loader - the class loader to usepublic Type toType()
public Type[] getActualTypeArguments()
getActualTypeArguments in interface ParameterizedTypepublic Type getRawType()
getRawType in interface ParameterizedTypepublic Type getOwnerType()
getOwnerType in interface ParameterizedTypeCopyright © 2019 CDAP Licensed under the Apache License, Version 2.0.