public class GenericPropertyDesc
extends java.lang.Object
Constructor and Description |
---|
GenericPropertyDesc(java.lang.Class type)
Ctor.
|
GenericPropertyDesc(java.lang.Class type,
java.lang.Class generic)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
getGeneric()
Returns the generic parameter, or null if none.
|
static GenericPropertyDesc |
getObjectGeneric()
Object.class type.
|
java.lang.Class |
getType()
Returns the type.
|
public GenericPropertyDesc(java.lang.Class type, java.lang.Class generic)
type
- the typegeneric
- its generic type parameter, if anypublic GenericPropertyDesc(java.lang.Class type)
type
- the typepublic java.lang.Class getType()
public java.lang.Class getGeneric()
public static GenericPropertyDesc getObjectGeneric()