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