public class FormalTypeParameter extends Object implements Dumpable, TypeUsageCollectable
Constructor and Description |
---|
FormalTypeParameter(String name,
JavaTypeInstance classBound,
JavaTypeInstance interfaceBound) |
Modifier and Type | Method and Description |
---|---|
void |
add(FormalTypeParameter other) |
void |
collectTypeUsages(TypeUsageCollector collector) |
Dumper |
dump(Dumper d) |
Dumper |
dump(Dumper d,
List<AnnotationTableTypeEntry> typeAnnotations,
List<AnnotationTableTypeEntry> typeBoundAnnotations) |
JavaTypeInstance |
getBound() |
static Map<String,FormalTypeParameter> |
getMap(List<FormalTypeParameter> formalTypeParameters) |
String |
getName() |
String |
toString() |
public FormalTypeParameter(String name, JavaTypeInstance classBound, JavaTypeInstance interfaceBound)
public static Map<String,FormalTypeParameter> getMap(List<FormalTypeParameter> formalTypeParameters)
public String getName()
public void collectTypeUsages(TypeUsageCollector collector)
collectTypeUsages
in interface TypeUsageCollectable
public void add(FormalTypeParameter other)
public JavaTypeInstance getBound()
public Dumper dump(Dumper d, List<AnnotationTableTypeEntry> typeAnnotations, List<AnnotationTableTypeEntry> typeBoundAnnotations)
Copyright © 2011-2021. All Rights Reserved.