Package org.benf.cfr.reader.state
Class LocalClassAwareTypeUsageInformation
java.lang.Object
org.benf.cfr.reader.state.LocalClassAwareTypeUsageInformation
- All Implemented Interfaces:
TypeUsageInformation
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TypeUsageInformation
private final Map<JavaTypeInstance,
String> -
Constructor Summary
ConstructorsConstructorDescriptionLocalClassAwareTypeUsageInformation
(Map<JavaRefTypeInstance, String> localClassTypes, TypeUsageInformation delegate) -
Method Summary
Modifier and TypeMethodDescriptiongetIid()
getName
(JavaTypeInstance type, TypeContext typeContext) boolean
boolean
isNameClash
(JavaTypeInstance type, String name, TypeContext typeContext) boolean
isStaticImport
(JavaTypeInstance clazz, String fixedName)
-
Field Details
-
delegate
-
localTypeNames
-
usedLocalTypeNames
-
-
Constructor Details
-
LocalClassAwareTypeUsageInformation
public LocalClassAwareTypeUsageInformation(Map<JavaRefTypeInstance, String> localClassTypes, TypeUsageInformation delegate)
-
-
Method Details
-
getIid
- Specified by:
getIid
in interfaceTypeUsageInformation
-
isStaticImport
- Specified by:
isStaticImport
in interfaceTypeUsageInformation
-
getDetectedStaticImports
- Specified by:
getDetectedStaticImports
in interfaceTypeUsageInformation
-
getAnalysisType
- Specified by:
getAnalysisType
in interfaceTypeUsageInformation
-
getUsedClassTypes
- Specified by:
getUsedClassTypes
in interfaceTypeUsageInformation
-
getUsedInnerClassTypes
- Specified by:
getUsedInnerClassTypes
in interfaceTypeUsageInformation
-
getName
- Specified by:
getName
in interfaceTypeUsageInformation
-
isNameClash
- Specified by:
isNameClash
in interfaceTypeUsageInformation
-
generateInnerClassShortName
- Specified by:
generateInnerClassShortName
in interfaceTypeUsageInformation
-
hasLocalInstance
- Specified by:
hasLocalInstance
in interfaceTypeUsageInformation
-
generateOverriddenName
- Specified by:
generateOverriddenName
in interfaceTypeUsageInformation
-
getShortenedClassTypes
- Specified by:
getShortenedClassTypes
in interfaceTypeUsageInformation
-