public class InnerClassTypeUsageInformation extends Object implements TypeUsageInformation
Constructor and Description |
---|
InnerClassTypeUsageInformation(TypeUsageInformation delegate,
JavaRefTypeInstance analysisInnerClass) |
Modifier and Type | Method and Description |
---|---|
String |
generateInnerClassShortName(JavaRefTypeInstance clazz) |
String |
generateOverriddenName(JavaRefTypeInstance clazz) |
JavaRefTypeInstance |
getAnalysisType() |
Set<DetectedStaticImport> |
getDetectedStaticImports() |
IllegalIdentifierDump |
getIid() |
String |
getName(JavaTypeInstance type,
TypeContext typeContext) |
Set<JavaRefTypeInstance> |
getShortenedClassTypes() |
Set<JavaRefTypeInstance> |
getUsedClassTypes() |
Set<JavaRefTypeInstance> |
getUsedInnerClassTypes() |
boolean |
hasLocalInstance(JavaRefTypeInstance type) |
boolean |
isNameClash(JavaTypeInstance type,
String name,
TypeContext typeContext) |
boolean |
isStaticImport(JavaTypeInstance clazz,
String fixedName) |
public InnerClassTypeUsageInformation(TypeUsageInformation delegate, JavaRefTypeInstance analysisInnerClass)
public IllegalIdentifierDump getIid()
getIid
in interface TypeUsageInformation
public JavaRefTypeInstance getAnalysisType()
getAnalysisType
in interface TypeUsageInformation
public Set<JavaRefTypeInstance> getUsedClassTypes()
getUsedClassTypes
in interface TypeUsageInformation
public Set<JavaRefTypeInstance> getUsedInnerClassTypes()
getUsedInnerClassTypes
in interface TypeUsageInformation
public boolean hasLocalInstance(JavaRefTypeInstance type)
hasLocalInstance
in interface TypeUsageInformation
public String getName(JavaTypeInstance type, TypeContext typeContext)
getName
in interface TypeUsageInformation
public boolean isNameClash(JavaTypeInstance type, String name, TypeContext typeContext)
isNameClash
in interface TypeUsageInformation
public String generateInnerClassShortName(JavaRefTypeInstance clazz)
generateInnerClassShortName
in interface TypeUsageInformation
public boolean isStaticImport(JavaTypeInstance clazz, String fixedName)
isStaticImport
in interface TypeUsageInformation
public Set<DetectedStaticImport> getDetectedStaticImports()
getDetectedStaticImports
in interface TypeUsageInformation
public String generateOverriddenName(JavaRefTypeInstance clazz)
generateOverriddenName
in interface TypeUsageInformation
public Set<JavaRefTypeInstance> getShortenedClassTypes()
getShortenedClassTypes
in interface TypeUsageInformation
Copyright © 2011-2021. All Rights Reserved.