public class TypeParameter extends HierarchicalTypeSignature
| Constructor | Description |
|---|---|
TypeParameter(String identifier,
ReferenceTypeSignature classBound,
List<ReferenceTypeSignature> interfaceBounds) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(Object obj) |
|
void |
getAllReferencedClassNames(Set<String> classNameListOut) |
Get the names of all classes referenced in the type signature
|
ReferenceTypeSignature |
getClassBound() |
Get the type parameter class bound.
|
String |
getIdentifier() |
Get the type parameter identifier.
|
List<ReferenceTypeSignature> |
getInterfaceBounds() |
Get the type parameter interface bound(s).
|
int |
hashCode() |
|
String |
toString() |
public TypeParameter(String identifier, ReferenceTypeSignature classBound, List<ReferenceTypeSignature> interfaceBounds)
identifier - The type parameter identifier.classBound - The type parameter class bound.interfaceBounds - The type parameter interface bound.public String getIdentifier()
public ReferenceTypeSignature getClassBound()
public List<ReferenceTypeSignature> getInterfaceBounds()
public void getAllReferencedClassNames(Set<String> classNameListOut)
HierarchicalTypeSignaturegetAllReferencedClassNames in class HierarchicalTypeSignatureclassNameListOut - The set to store class names in.Copyright © 2018. All rights reserved.