Package jadx.api.impl
Class InMemoryCodeCache
- java.lang.Object
-
- jadx.api.impl.InMemoryCodeCache
-
- All Implemented Interfaces:
ICodeCache,java.io.Closeable,java.lang.AutoCloseable
public class InMemoryCodeCache extends java.lang.Object implements ICodeCache
-
-
Constructor Summary
Constructors Constructor Description InMemoryCodeCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(java.lang.String clsFullName, ICodeInfo codeInfo)voidclose()booleancontains(java.lang.String clsFullName)@NotNull ICodeInfoget(java.lang.String clsFullName)@Nullable java.lang.StringgetCode(java.lang.String clsFullName)voidremove(java.lang.String clsFullName)java.lang.StringtoString()
-
-
-
Method Detail
-
add
public void add(java.lang.String clsFullName, ICodeInfo codeInfo)- Specified by:
addin interfaceICodeCache
-
remove
public void remove(java.lang.String clsFullName)
- Specified by:
removein interfaceICodeCache
-
get
@NotNull public @NotNull ICodeInfo get(java.lang.String clsFullName)
- Specified by:
getin interfaceICodeCache
-
getCode
@Nullable public @Nullable java.lang.String getCode(java.lang.String clsFullName)
- Specified by:
getCodein interfaceICodeCache
-
contains
public boolean contains(java.lang.String clsFullName)
- Specified by:
containsin interfaceICodeCache
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Throws:
java.io.IOException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-