| Package | Description |
|---|---|
| oracle.javatools.parser.java.v2.common |
Classes common to model implementations.
|
| oracle.javatools.parser.java.v2.model |
The parser model API.
|
| Modifier and Type | Method and Description |
|---|---|
static JavaTypeVariable |
CommonUtilities.getTypeParameter(JavaIsGeneric target, java.lang.String name) |
JavaTypeVariable |
QuickJavaClass.getTypeParameter(java.lang.String name) |
JavaTypeVariable |
AbstractType.getTypeParameter(java.lang.String name) |
JavaTypeVariable |
AbstractMethod.getTypeParameter(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<JavaTypeVariable> |
QuickJavaClass.getTypeParameters() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
CommonUtilities.getDescriptor(JavaTypeVariable input)
Get the descriptor of a type parameter, which returns the descriptor of the erasure of that type parameter.
|
static java.lang.String |
CommonUtilities.getSignature(JavaTypeVariable input)
Get the signature of a type parameter, which is the descriptor of the declaration of the type parameter.
|
static JavaClass |
CommonUtilities.getTypeErasure(JavaTypeVariable thing) |
static java.lang.String |
CommonUtilities.getTypeSignature(JavaTypeVariable input)
Get the type signature of a type parameter, which is the descriptor of a usage of the type parameter.
|
static java.lang.String |
CommonUtilities.getUniqueIdentifier(JavaTypeVariable thing) |
static boolean |
CommonUtilities.hasBoundsCircularity(JavaTypeVariable javaTypeVariable)
Detect circular references in the bounds of a JavaTypeVariable, such as: <E extends E> or <E extends T, T extends E>
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
SourceTypeParameter
A type parameter.
|
| Modifier and Type | Method and Description |
|---|---|
JavaTypeVariable |
JavaIsGeneric.getTypeParameter(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<JavaTypeVariable> |
JavaIsGeneric.getTypeParameters() |