TypeInfoProvider

io.joern.kotlin2cpg.types.TypeInfoProvider

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def aliasTypeFullName(expr: KtTypeAlias, defaultValue: String): String
def anySignature(args: Seq[Any]): String
def bindingKind(expr: KtQualifiedExpression): CallKind
def containingDeclFullName(expr: KtCallExpression): Option[String]
def containingDeclType(expr: KtQualifiedExpression, defaultValue: String): String
def containingTypeDeclFullName(ktFn: KtNamedFunction, defaultValue: String): String
def destructuringEntryType(expr: KtDestructuringDeclarationEntry, defaultValue: String): String
def expressionType(expr: KtExpression, defaultValue: String): String
def fullName(expr: KtClassOrObject, defaultValue: String, ctx: Option[AnonymousObjectContext]): String
def fullName(expr: KtTypeAlias, defaultValue: String): String
def fullNameWithSignature(expr: KtDestructuringDeclarationEntry, defaultValue: (String, String)): (String, String)
def fullNameWithSignature(expr: KtQualifiedExpression, or: (String, String)): (String, String)
def fullNameWithSignature(call: KtCallExpression, or: (String, String)): (String, String)
def fullNameWithSignature(expr: KtPrimaryConstructor, or: (String, String)): (String, String)
def fullNameWithSignature(expr: KtSecondaryConstructor, or: (String, String)): (String, String)
def fullNameWithSignature(call: KtBinaryExpression, or: (String, String)): (String, String)
def fullNameWithSignature(expr: KtNamedFunction, or: (String, String)): (String, String)
def fullNameWithSignature(expr: KtClassLiteralExpression, or: (String, String)): (String, String)
def fullNameWithSignature(expr: KtLambdaExpression, lambdaName: String): (String, String)
def fullNameWithSignatureAsLambda(expr: KtNamedFunction, lambdaName: String): (String, String)
def hasApplyOrAlsoScopeFunctionParent(expr: KtLambdaExpression): Boolean
def hasStaticDesc(expr: KtQualifiedExpression): Boolean
def implicitParameterName(expr: KtLambdaExpression): Option[String]
def inheritanceTypes(expr: KtClassOrObject, or: Seq[String]): Seq[String]
def isCompanionObject(expr: KtClassOrObject): Boolean
def isConstructorCall(expr: KtExpression): Option[Boolean]
def isExtensionFn(fn: KtNamedFunction): Boolean
def isRefToCompanionObject(expr: KtNameReferenceExpression): Boolean
def isReferenceToClass(expr: KtNameReferenceExpression): Boolean
def isStaticMethodCall(expr: KtQualifiedExpression): Boolean
def nameReferenceKind(expr: KtNameReferenceExpression): NameReferenceKind
def parameterType(expr: KtParameter, defaultValue: String): String
def propertyType(expr: KtProperty, defaultValue: String): String
def referenceTargetTypeFullName(expr: KtNameReferenceExpression, defaultValue: String): String
def returnType(elem: KtNamedFunction, defaultValue: String): String
def returnTypeFullName(expr: KtLambdaExpression): String
def typeFromImports(name: String, file: KtFile): Option[String]
def typeFullName(expr: KtNameReferenceExpression, defaultValue: String): String
def typeFullName(expr: KtBinaryExpression, defaultValue: String): String
def typeFullName(expr: KtAnnotationEntry, defaultValue: String): String
def typeFullName(expr: KtTypeReference, defaultValue: String): String
def typeFullName(expr: KtPrimaryConstructor, defaultValue: String): String
def typeFullName(expr: KtSecondaryConstructor, defaultValue: String): String
def typeFullName(expr: KtCallExpression, defaultValue: String): String
def typeFullName(expr: KtParameter, defaultValue: String): String
def typeFullName(expr: KtDestructuringDeclarationEntry, defaultValue: String): String
def typeFullName(expr: KtClassOrObject, defaultValue: String): String
def usedAsExpression(expr: KtExpression): Option[Boolean]
def visibility(fn: KtNamedFunction): Option[DescriptorVisibility]