Class LocalClassAwareTypeUsageInformation
java.lang.Object
org.benf.cfr.reader.state.LocalClassAwareTypeUsageInformation
- All Implemented Interfaces:
TypeUsageInformation
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TypeUsageInformationprivate final Map<JavaTypeInstance, String> -
Constructor Summary
ConstructorsConstructorDescriptionLocalClassAwareTypeUsageInformation(Map<JavaRefTypeInstance, String> localClassTypes, TypeUsageInformation delegate) -
Method Summary
Modifier and TypeMethodDescriptiongetIid()getName(JavaTypeInstance type, TypeContext typeContext) booleanbooleanisNameClash(JavaTypeInstance type, String name, TypeContext typeContext) booleanisStaticImport(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:
getIidin interfaceTypeUsageInformation
-
isStaticImport
- Specified by:
isStaticImportin interfaceTypeUsageInformation
-
getDetectedStaticImports
- Specified by:
getDetectedStaticImportsin interfaceTypeUsageInformation
-
getAnalysisType
- Specified by:
getAnalysisTypein interfaceTypeUsageInformation
-
getUsedClassTypes
- Specified by:
getUsedClassTypesin interfaceTypeUsageInformation
-
getUsedInnerClassTypes
- Specified by:
getUsedInnerClassTypesin interfaceTypeUsageInformation
-
getName
- Specified by:
getNamein interfaceTypeUsageInformation
-
isNameClash
- Specified by:
isNameClashin interfaceTypeUsageInformation
-
generateInnerClassShortName
- Specified by:
generateInnerClassShortNamein interfaceTypeUsageInformation
-
hasLocalInstance
- Specified by:
hasLocalInstancein interfaceTypeUsageInformation
-
generateOverriddenName
- Specified by:
generateOverriddenNamein interfaceTypeUsageInformation
-
getShortenedClassTypes
- Specified by:
getShortenedClassTypesin interfaceTypeUsageInformation
-