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 JavaRefTypeInstanceprivate final TypeUsageInformationprivate final IllegalIdentifierDumpprivate final Map<JavaRefTypeInstance, String> private final Set<JavaRefTypeInstance> -
Constructor Summary
ConstructorsConstructorDescriptionInnerClassTypeUsageInformation(TypeUsageInformation delegate, JavaRefTypeInstance analysisInnerClass) -
Method Summary
Modifier and TypeMethodDescriptionprivate booleanclashesWithField(String name) getIid()getName(JavaTypeInstance type, TypeContext typeContext) booleanprivate voidbooleanisNameClash(JavaTypeInstance type, String name, TypeContext typeContext) booleanisStaticImport(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:
getIidin interfaceTypeUsageInformation
-
getAnalysisType
- Specified by:
getAnalysisTypein interfaceTypeUsageInformation
-
initializeFrom
private void initializeFrom() -
getUsedClassTypes
- Specified by:
getUsedClassTypesin interfaceTypeUsageInformation
-
getUsedInnerClassTypes
- Specified by:
getUsedInnerClassTypesin interfaceTypeUsageInformation
-
hasLocalInstance
- Specified by:
hasLocalInstancein interfaceTypeUsageInformation
-
getName
- Specified by:
getNamein interfaceTypeUsageInformation
-
isNameClash
- Specified by:
isNameClashin interfaceTypeUsageInformation
-
generateInnerClassShortName
- Specified by:
generateInnerClassShortNamein interfaceTypeUsageInformation
-
isStaticImport
- Specified by:
isStaticImportin interfaceTypeUsageInformation
-
getDetectedStaticImports
- Specified by:
getDetectedStaticImportsin interfaceTypeUsageInformation
-
generateOverriddenName
- Specified by:
generateOverriddenNamein interfaceTypeUsageInformation
-
getShortenedClassTypes
- Specified by:
getShortenedClassTypesin interfaceTypeUsageInformation
-