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 TypeUsageInformation
public JavaRefTypeInstance getAnalysisType()
getAnalysisType
in interface TypeUsageInformation
private void initializeFrom()
public java.util.Set<JavaRefTypeInstance> getUsedClassTypes()
getUsedClassTypes
in interface TypeUsageInformation
public java.util.Set<JavaRefTypeInstance> getUsedInnerClassTypes()
getUsedInnerClassTypes
in interface TypeUsageInformation
public boolean hasLocalInstance(JavaRefTypeInstance type)
hasLocalInstance
in interface TypeUsageInformation
public java.lang.String getName(JavaTypeInstance type, TypeContext typeContext)
getName
in interface TypeUsageInformation
public boolean isNameClash(JavaTypeInstance type, java.lang.String name, TypeContext typeContext)
isNameClash
in interface TypeUsageInformation
public java.lang.String generateInnerClassShortName(JavaRefTypeInstance clazz)
generateInnerClassShortName
in interface TypeUsageInformation
public boolean isStaticImport(JavaTypeInstance clazz, java.lang.String fixedName)
isStaticImport
in interface TypeUsageInformation
public java.util.Set<DetectedStaticImport> getDetectedStaticImports()
getDetectedStaticImports
in interface TypeUsageInformation
public java.lang.String generateOverriddenName(JavaRefTypeInstance clazz)
generateOverriddenName
in interface TypeUsageInformation
public java.util.Set<JavaRefTypeInstance> getShortenedClassTypes()
getShortenedClassTypes
in interface TypeUsageInformation