Class FormalTypeParameter
java.lang.Object
org.benf.cfr.reader.bytecode.analysis.types.FormalTypeParameter
- All Implemented Interfaces:
Dumpable
,TypeUsageCollectable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate JavaTypeInstance
private JavaTypeInstance
private String
-
Constructor Summary
ConstructorsConstructorDescriptionFormalTypeParameter
(String name, JavaTypeInstance classBound, JavaTypeInstance interfaceBound) -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(FormalTypeParameter other) void
collectTypeUsages
(TypeUsageCollector collector) dump
(Dumper d, List<AnnotationTableTypeEntry> typeAnnotations, List<AnnotationTableTypeEntry> typeBoundAnnotations) getBound()
static Map<String,
FormalTypeParameter> getMap
(List<FormalTypeParameter> formalTypeParameters) getName()
toString()
-
Field Details
-
name
-
classBound
-
interfaceBound
-
-
Constructor Details
-
FormalTypeParameter
public FormalTypeParameter(String name, JavaTypeInstance classBound, JavaTypeInstance interfaceBound)
-
-
Method Details
-
getMap
public static Map<String,FormalTypeParameter> getMap(List<FormalTypeParameter> formalTypeParameters) -
getName
-
collectTypeUsages
- Specified by:
collectTypeUsages
in interfaceTypeUsageCollectable
-
add
-
getBound
-
dump
-
dump
public Dumper dump(Dumper d, List<AnnotationTableTypeEntry> typeAnnotations, List<AnnotationTableTypeEntry> typeBoundAnnotations) -
toString
-