Class FormalTypeParameter
java.lang.Object
org.benf.cfr.reader.bytecode.analysis.types.FormalTypeParameter
- All Implemented Interfaces:
Dumpable, TypeUsageCollectable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate JavaTypeInstanceprivate JavaTypeInstanceprivate String -
Constructor Summary
ConstructorsConstructorDescriptionFormalTypeParameter(String name, JavaTypeInstance classBound, JavaTypeInstance interfaceBound) -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(FormalTypeParameter other) voidcollectTypeUsages(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:
collectTypeUsagesin interfaceTypeUsageCollectable
-
add
-
getBound
-
dump
-
dump
public Dumper dump(Dumper d, List<AnnotationTableTypeEntry> typeAnnotations, List<AnnotationTableTypeEntry> typeBoundAnnotations) -
toString
-