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