NonCachingClassPool

io.joern.javasrc2cpg.typesolvers.NonCachingClassPool
class NonCachingClassPool extends ClassPool

The NonCachingClassPool is meant to be used in conjuction with a type solver that already caches resolved types. This means that caching the intermediate ctClasses is just extra memory use.

NonCachingClassPool extends ClassPool(useDefaultPath = false) to avoid adding the system path to the search list.

Attributes

Graph
Supertypes
class ClassPool
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def cacheCtClass(className: String, ctClass: CtClass, dynamic: Boolean): Unit

Attributes

Definition Classes
ClassPool

Inherited methods

def appendClassPath(x$0: String): ClassPath

Attributes

Inherited from:
ClassPool
def appendClassPath(x$0: ClassPath): ClassPath

Attributes

Inherited from:
ClassPool
def appendPathList(x$0: String): Unit

Attributes

Inherited from:
ClassPool
def appendSystemPath(): ClassPath

Attributes

Inherited from:
ClassPool
def clearImportedPackages(): Unit

Attributes

Inherited from:
ClassPool
def find(x$0: String): URL

Attributes

Inherited from:
ClassPool
def get(x$0: Array[String]): Array[CtClass]

Attributes

Inherited from:
ClassPool
def get(x$0: String): CtClass

Attributes

Inherited from:
ClassPool
def getAndRename(x$0: String, x$1: String): CtClass

Attributes

Inherited from:
ClassPool
def getClassLoader(): ClassLoader

Attributes

Inherited from:
ClassPool
def getCtClass(x$0: String): CtClass

Attributes

Inherited from:
ClassPool
def getImportedPackages(): Iterator[String]

Attributes

Inherited from:
ClassPool
def getMethod(x$0: String, x$1: String): CtMethod

Attributes

Inherited from:
ClassPool
def getOrNull(x$0: String): CtClass

Attributes

Inherited from:
ClassPool
def importPackage(x$0: String): Unit

Attributes

Inherited from:
ClassPool
def insertClassPath(x$0: String): ClassPath

Attributes

Inherited from:
ClassPool
def insertClassPath(x$0: ClassPath): ClassPath

Attributes

Inherited from:
ClassPool
def lookupCflow(x$0: String): Array[<FromJavaObject>]

Attributes

Inherited from:
ClassPool
def makeAnnotation(x$0: String): CtClass

Attributes

Inherited from:
ClassPool
def makeClass(x$0: String, x$1: CtClass): CtClass

Attributes

Inherited from:
ClassPool
def makeClass(x$0: String): CtClass

Attributes

Inherited from:
ClassPool
def makeClass(x$0: ClassFile, x$1: Boolean): CtClass

Attributes

Inherited from:
ClassPool
def makeClass(x$0: ClassFile): CtClass

Attributes

Inherited from:
ClassPool
def makeClass(x$0: InputStream, x$1: Boolean): CtClass

Attributes

Inherited from:
ClassPool
def makeClass(x$0: InputStream): CtClass

Attributes

Inherited from:
ClassPool
def makeClassIfNew(x$0: InputStream): CtClass

Attributes

Inherited from:
ClassPool
def makeInterface(x$0: String, x$1: CtClass): CtClass

Attributes

Inherited from:
ClassPool
def makeInterface(x$0: String): CtClass

Attributes

Inherited from:
ClassPool
def removeClassPath(x$0: ClassPath): Unit

Attributes

Inherited from:
ClassPool
def toClass(x$0: CtClass, x$1: Class[_ <: <FromJavaObject>], x$2: ClassLoader, x$3: ProtectionDomain): Class[_]

Attributes

Inherited from:
ClassPool
def toClass(x$0: CtClass, x$1: Lookup): Class[_ <: <FromJavaObject>]

Attributes

Inherited from:
ClassPool
def toClass(x$0: CtClass, x$1: Class[_ <: <FromJavaObject>]): Class[_ <: <FromJavaObject>]

Attributes

Inherited from:
ClassPool
def toClass(x$0: CtClass): Class[_]

Attributes

Inherited from:
ClassPool
def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Inherited from:
ClassPool

Deprecated and Inherited methods

def makePackage(x$0: ClassLoader, x$1: String): Unit

Attributes

Deprecated
true
Inherited from:
ClassPool
def recordInvalidClassName(x$0: String): Unit

Attributes

Deprecated
true
Inherited from:
ClassPool
def toClass(x$0: CtClass, x$1: ClassLoader, x$2: ProtectionDomain): Class[_]

Attributes

Deprecated
true
Inherited from:
ClassPool
def toClass(x$0: CtClass, x$1: ClassLoader): Class[_]

Attributes

Deprecated
true
Inherited from:
ClassPool

Inherited fields

var childFirstLookup: Boolean

Attributes

Inherited from:
ClassPool