Package org.benf.cfr.reader.state
Class InnerClassTypeUsageInformation
java.lang.Object
org.benf.cfr.reader.state.InnerClassTypeUsageInformation
- All Implemented Interfaces:
TypeUsageInformation
Strips the outer class name off anything which preceeds this inner class.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final JavaRefTypeInstance
private final TypeUsageInformation
private final IllegalIdentifierDump
private final Map<JavaRefTypeInstance,
String> private final Set<JavaRefTypeInstance>
-
Constructor Summary
ConstructorsConstructorDescriptionInnerClassTypeUsageInformation
(TypeUsageInformation delegate, JavaRefTypeInstance analysisInnerClass) -
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
clashesWithField
(String name) getIid()
getName
(JavaTypeInstance type, TypeContext typeContext) boolean
private void
boolean
isNameClash
(JavaTypeInstance type, String name, TypeContext typeContext) boolean
isStaticImport
(JavaTypeInstance clazz, String fixedName)
-
Field Details
-
iid
-
delegate
-
analysisInnerClass
-
localTypeNames
-
usedLocalTypeNames
-
usedInnerClassTypes
-
-
Constructor Details
-
InnerClassTypeUsageInformation
public InnerClassTypeUsageInformation(TypeUsageInformation delegate, JavaRefTypeInstance analysisInnerClass)
-
-
Method Details
-
clashesWithField
-
getIid
- Specified by:
getIid
in interfaceTypeUsageInformation
-
getAnalysisType
- Specified by:
getAnalysisType
in interfaceTypeUsageInformation
-
initializeFrom
private void initializeFrom() -
getUsedClassTypes
- Specified by:
getUsedClassTypes
in interfaceTypeUsageInformation
-
getUsedInnerClassTypes
- Specified by:
getUsedInnerClassTypes
in interfaceTypeUsageInformation
-
hasLocalInstance
- Specified by:
hasLocalInstance
in interfaceTypeUsageInformation
-
getName
- Specified by:
getName
in interfaceTypeUsageInformation
-
isNameClash
- Specified by:
isNameClash
in interfaceTypeUsageInformation
-
generateInnerClassShortName
- Specified by:
generateInnerClassShortName
in interfaceTypeUsageInformation
-
isStaticImport
- Specified by:
isStaticImport
in interfaceTypeUsageInformation
-
getDetectedStaticImports
- Specified by:
getDetectedStaticImports
in interfaceTypeUsageInformation
-
generateOverriddenName
- Specified by:
generateOverriddenName
in interfaceTypeUsageInformation
-
getShortenedClassTypes
- Specified by:
getShortenedClassTypes
in interfaceTypeUsageInformation
-