DefaultTypeInfoProvider

io.joern.kotlin2cpg.types.DefaultTypeInfoProvider
See theDefaultTypeInfoProvider companion object
class DefaultTypeInfoProvider(environment: KotlinCoreEnvironment) extends TypeInfoProvider

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def aliasTypeFullName(expr: KtTypeAlias, defaultValue: String): String
def anonymousObjectIdx(obj: KtElement): Option[Int]
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: KtTypeAlias, defaultValue: String): String
def fullName(expr: KtClassOrObject, defaultValue: String, anonymousCtxMaybe: Option[AnonymousObjectContext]): String
def fullNameWithSignature(expr: KtDestructuringDeclarationEntry, defaultValue: (String, String)): (String, String)
def fullNameWithSignature(expr: KtClassLiteralExpression, defaultValue: (String, String)): (String, String)
def fullNameWithSignature(expr: KtCallExpression, defaultValue: (String, String)): (String, String)
def fullNameWithSignature(expr: KtBinaryExpression, defaultValue: (String, String)): (String, String)
def fullNameWithSignature(expr: KtQualifiedExpression, defaultValue: (String, String)): (String, String)
def fullNameWithSignature(expr: KtLambdaExpression, lambdaName: String): (String, String)
def fullNameWithSignature(expr: KtSecondaryConstructor, defaultValue: (String, String)): (String, String)
def fullNameWithSignature(expr: KtPrimaryConstructor, defaultValue: (String, String)): (String, String)
def fullNameWithSignature(expr: KtNamedFunction, defaultValue: (String, 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, defaultValue: Seq[String]): Seq[String]
def isCompanionObject(expr: KtClassOrObject): Boolean
def isConstructorCall(expr: KtExpression): Option[Boolean]
def isConstructorDescriptor(desc: FunctionDescriptor): Boolean
def isExtensionFn(fn: KtNamedFunction): Boolean
def isRefToCompanionObject(expr: KtNameReferenceExpression): Boolean
def isReferenceToClass(expr: KtNameReferenceExpression): Boolean
def isStaticMethodCall(expr: KtQualifiedExpression): Boolean
def isValidRender(render: String): Boolean
def lambdaInvocationSignature(expr: KtLambdaExpression, returnType: String): String
def nameReferenceKind(expr: KtNameReferenceExpression): NameReferenceKind
def parameterType(parameter: KtParameter, defaultValue: String): String
def propertyType(expr: KtProperty, defaultValue: String): String
def referenceTargetTypeFullName(expr: KtNameReferenceExpression, defaultValue: String): String
def returnType(expr: KtNamedFunction, defaultValue: String): String
def returnTypeFullName(expr: KtLambdaExpression): String
def typeFromImports(name: String, file: KtFile): Option[String]
def typeFullName(expr: KtDestructuringDeclarationEntry, defaultValue: String): String
def typeFullName(expr: KtTypeReference, defaultValue: String): String
def typeFullName(expr: KtCallExpression, defaultValue: String): String
def typeFullName(expr: KtClassOrObject, defaultValue: String): String
def typeFullName(expr: KtParameter, defaultValue: String): String
def typeFullName(expr: KtBinaryExpression, defaultValue: String): String
def typeFullName(expr: KtAnnotationEntry, defaultValue: String): String
def typeFullName(expr: KtPrimaryConstructor, defaultValue: String): String
def typeFullName(expr: KtSecondaryConstructor, defaultValue: String): String
def typeFullName(expr: KtNameReferenceExpression, defaultValue: String): String
def usedAsExpression(expr: KtExpression): Option[Boolean]
def visibility(fn: KtNamedFunction): Option[DescriptorVisibility]

Concrete fields

val bindingContext: BindingContext