public interface TypeParameterDeclaration
class A<E extends String>{}
In this case E would be a type parameter.| Modifier and Type | Interface and Description |
|---|---|
static class |
TypeParameterDeclaration.Bound
A Bound on a Type Parameter.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
declaredOnMethod()
Is the type parameter been defined on a method?
|
boolean |
declaredOnType()
Is the type parameter been defined on a type?
|
List<TypeParameterDeclaration.Bound> |
getBounds(TypeSolver typeSolver)
The bounds specified for the type parameter.
|
String |
getContainerId()
The ID of the container.
|
String |
getContainerQualifiedName()
The qualified name of the container.
|
String |
getName()
Name of the type parameter.
|
default String |
getQualifiedName()
The qualified name of the Type Parameter.
|
static TypeParameterDeclaration |
onType(String name,
String classQName,
List<TypeParameterDeclaration.Bound> bounds)
Instantiate a TypeParameter defined on a Type with the given data.
|
static TypeParameterDeclaration onType(String name, String classQName, List<TypeParameterDeclaration.Bound> bounds)
String getName()
boolean declaredOnType()
boolean declaredOnMethod()
default String getQualifiedName()
String getContainerQualifiedName()
String getContainerId()
List<TypeParameterDeclaration.Bound> getBounds(TypeSolver typeSolver)
Copyright © 2016. All rights reserved.