public class InnerClassTypeUsageInformation extends java.lang.Object implements TypeUsageInformation
| Modifier and Type | Field and Description |
|---|---|
private JavaRefTypeInstance |
analysisInnerClass |
private TypeUsageInformation |
delegate |
private IllegalIdentifierDump |
iid |
private java.util.Map<JavaRefTypeInstance,java.lang.String> |
localTypeNames |
private java.util.Set<JavaRefTypeInstance> |
usedInnerClassTypes |
private java.util.Set<java.lang.String> |
usedLocalTypeNames |
| Constructor and Description |
|---|
InnerClassTypeUsageInformation(TypeUsageInformation delegate,
JavaRefTypeInstance analysisInnerClass) |
| Modifier and Type | Method and Description |
|---|---|
private boolean |
clashesWithField(java.lang.String name) |
java.lang.String |
generateInnerClassShortName(JavaRefTypeInstance clazz) |
java.lang.String |
generateOverriddenName(JavaRefTypeInstance clazz) |
JavaRefTypeInstance |
getAnalysisType() |
java.util.Set<DetectedStaticImport> |
getDetectedStaticImports() |
IllegalIdentifierDump |
getIid() |
java.lang.String |
getName(JavaTypeInstance type,
TypeContext typeContext) |
java.util.Set<JavaRefTypeInstance> |
getShortenedClassTypes() |
java.util.Set<JavaRefTypeInstance> |
getUsedClassTypes() |
java.util.Set<JavaRefTypeInstance> |
getUsedInnerClassTypes() |
boolean |
hasLocalInstance(JavaRefTypeInstance type) |
private void |
initializeFrom() |
boolean |
isNameClash(JavaTypeInstance type,
java.lang.String name,
TypeContext typeContext) |
boolean |
isStaticImport(JavaTypeInstance clazz,
java.lang.String fixedName) |
private final IllegalIdentifierDump iid
private final TypeUsageInformation delegate
private final JavaRefTypeInstance analysisInnerClass
private final java.util.Map<JavaRefTypeInstance,java.lang.String> localTypeNames
private final java.util.Set<java.lang.String> usedLocalTypeNames
private final java.util.Set<JavaRefTypeInstance> usedInnerClassTypes
public InnerClassTypeUsageInformation(TypeUsageInformation delegate, JavaRefTypeInstance analysisInnerClass)
private boolean clashesWithField(java.lang.String name)
public IllegalIdentifierDump getIid()
getIid in interface TypeUsageInformationpublic JavaRefTypeInstance getAnalysisType()
getAnalysisType in interface TypeUsageInformationprivate void initializeFrom()
public java.util.Set<JavaRefTypeInstance> getUsedClassTypes()
getUsedClassTypes in interface TypeUsageInformationpublic java.util.Set<JavaRefTypeInstance> getUsedInnerClassTypes()
getUsedInnerClassTypes in interface TypeUsageInformationpublic boolean hasLocalInstance(JavaRefTypeInstance type)
hasLocalInstance in interface TypeUsageInformationpublic java.lang.String getName(JavaTypeInstance type, TypeContext typeContext)
getName in interface TypeUsageInformationpublic boolean isNameClash(JavaTypeInstance type, java.lang.String name, TypeContext typeContext)
isNameClash in interface TypeUsageInformationpublic java.lang.String generateInnerClassShortName(JavaRefTypeInstance clazz)
generateInnerClassShortName in interface TypeUsageInformationpublic boolean isStaticImport(JavaTypeInstance clazz, java.lang.String fixedName)
isStaticImport in interface TypeUsageInformationpublic java.util.Set<DetectedStaticImport> getDetectedStaticImports()
getDetectedStaticImports in interface TypeUsageInformationpublic java.lang.String generateOverriddenName(JavaRefTypeInstance clazz)
generateOverriddenName in interface TypeUsageInformationpublic java.util.Set<JavaRefTypeInstance> getShortenedClassTypes()
getShortenedClassTypes in interface TypeUsageInformation