public class TypeUsageInformationImpl extends Object implements TypeUsageInformation
| Constructor and Description |
|---|
TypeUsageInformationImpl(Options options,
JavaRefTypeInstance analysisType,
Set<JavaRefTypeInstance> usedRefTypes,
Set<DetectedStaticImport> staticImports) |
| 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 TypeUsageInformationImpl(Options options, JavaRefTypeInstance analysisType, Set<JavaRefTypeInstance> usedRefTypes, Set<DetectedStaticImport> staticImports)
public IllegalIdentifierDump getIid()
getIid in interface TypeUsageInformationpublic JavaRefTypeInstance getAnalysisType()
getAnalysisType in interface TypeUsageInformationpublic String generateInnerClassShortName(JavaRefTypeInstance clazz)
generateInnerClassShortName in interface TypeUsageInformationpublic String generateOverriddenName(JavaRefTypeInstance clazz)
generateOverriddenName in interface TypeUsageInformationpublic Set<JavaRefTypeInstance> getUsedClassTypes()
getUsedClassTypes in interface TypeUsageInformationpublic Set<JavaRefTypeInstance> getShortenedClassTypes()
getShortenedClassTypes in interface TypeUsageInformationpublic Set<JavaRefTypeInstance> getUsedInnerClassTypes()
getUsedInnerClassTypes in interface TypeUsageInformationpublic boolean hasLocalInstance(JavaRefTypeInstance type)
hasLocalInstance in interface TypeUsageInformationpublic boolean isStaticImport(JavaTypeInstance clazz, String fixedName)
isStaticImport in interface TypeUsageInformationpublic Set<DetectedStaticImport> getDetectedStaticImports()
getDetectedStaticImports in interface TypeUsageInformationpublic String getName(JavaTypeInstance type, TypeContext typeContext)
getName in interface TypeUsageInformationpublic boolean isNameClash(JavaTypeInstance type, String name, TypeContext typeContext)
isNameClash in interface TypeUsageInformationCopyright © 2011-2021. All Rights Reserved.