Class TypeUsageInformationImpl
java.lang.Object
org.benf.cfr.reader.state.TypeUsageInformationImpl
- All Implemented Interfaces:
TypeUsageInformation
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final JavaRefTypeInstanceprivate final Map<JavaRefTypeInstance, String> private final IllegalIdentifierDumpprivate final Set<JavaRefTypeInstance> private final Map<String, LinkedList<JavaRefTypeInstance>> private Set<DetectedStaticImport> private final Set<JavaRefTypeInstance> private final Set<JavaRefTypeInstance> -
Constructor Summary
ConstructorsConstructorDescriptionTypeUsageInformationImpl(Options options, JavaRefTypeInstance analysisType, Set<JavaRefTypeInstance> usedRefTypes, Set<DetectedStaticImport> staticImports) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprivate booleanfieldClash(String name) getIid()getName(JavaTypeInstance type, TypeContext typeContext) booleanprivate voidinitialiseFrom(Set<JavaRefTypeInstance> usedRefTypes) booleanisNameClash(JavaTypeInstance type, String name, TypeContext typeContext) booleanisStaticImport(JavaTypeInstance clazz, String fixedName)
-
Field Details
-
iid
-
staticImports
-
analysisType
-
usedRefTypes
-
shortenedRefTypes
-
usedLocalInnerTypes
-
displayName
-
shortNames
-
allowShorten
-
clashNames
-
-
Constructor Details
-
TypeUsageInformationImpl
public TypeUsageInformationImpl(Options options, JavaRefTypeInstance analysisType, Set<JavaRefTypeInstance> usedRefTypes, Set<DetectedStaticImport> staticImports)
-
-
Method Details
-
getIid
- Specified by:
getIidin interfaceTypeUsageInformation
-
getAnalysisType
- Specified by:
getAnalysisTypein interfaceTypeUsageInformation
-
generateInnerClassShortName
- Specified by:
generateInnerClassShortNamein interfaceTypeUsageInformation
-
generateOverriddenName
- Specified by:
generateOverriddenNamein interfaceTypeUsageInformation
-
initialiseFrom
-
addDisplayNames
-
fieldClash
-
getUsedClassTypes
- Specified by:
getUsedClassTypesin interfaceTypeUsageInformation
-
getShortenedClassTypes
- Specified by:
getShortenedClassTypesin interfaceTypeUsageInformation
-
getUsedInnerClassTypes
- Specified by:
getUsedInnerClassTypesin interfaceTypeUsageInformation
-
hasLocalInstance
- Specified by:
hasLocalInstancein interfaceTypeUsageInformation
-
isStaticImport
- Specified by:
isStaticImportin interfaceTypeUsageInformation
-
getDetectedStaticImports
- Specified by:
getDetectedStaticImportsin interfaceTypeUsageInformation
-
getName
- Specified by:
getNamein interfaceTypeUsageInformation
-
isNameClash
- Specified by:
isNameClashin interfaceTypeUsageInformation
-