Class GenericType
- java.lang.Object
-
- org.apache.camel.tooling.util.srcgen.GenericType
-
public class GenericType extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenericType.BoundType
-
Constructor Summary
Constructors Constructor Description GenericType(Class clazz, GenericType.BoundType boundType, GenericType... parameters)GenericType(Class clazz, GenericType... parameters)GenericType(Type type)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)GenericTypegetActualTypeArgument(int i)Class<?>getRawClass()inthashCode()static GenericTypeparse(String type, ClassLoader loader)intsize()StringtoString()
-
-
-
Constructor Detail
-
GenericType
public GenericType(Type type)
-
GenericType
public GenericType(Class clazz, GenericType... parameters)
-
GenericType
public GenericType(Class clazz, GenericType.BoundType boundType, GenericType... parameters)
-
-
Method Detail
-
parse
public static GenericType parse(String type, ClassLoader loader) throws ClassNotFoundException, IllegalArgumentException
-
getRawClass
public Class<?> getRawClass()
-
getActualTypeArgument
public GenericType getActualTypeArgument(int i)
-
size
public int size()
-
-