public final class ClassTypePair extends Object
Modifier and Type | Method and Description |
---|---|
static ClassTypePair |
of(Class<?> rawClass)
Create new type-class pair for a non-generic class.
|
static ClassTypePair |
of(Class<?> rawClass,
Type type)
Create new type-class pair.
|
Class<?> |
rawClass()
Get the raw class of the
type . |
Type |
type()
Get the actual type behind the
raw class . |
public Type type()
raw class
.public static ClassTypePair of(Class<?> rawClass)
rawClass
- (raw) class representing the non-generic type.public static ClassTypePair of(Class<?> rawClass, Type type)
rawClass
- raw class representing the type.type
- type behind the class.Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.