Package jadx.gui.cache.code
Class CodeStringCache
- java.lang.Object
-
- jadx.api.impl.DelegateCodeCache
-
- jadx.gui.cache.code.CodeStringCache
-
- All Implemented Interfaces:
jadx.api.ICodeCache,java.io.Closeable,java.lang.AutoCloseable
public class CodeStringCache extends jadx.api.impl.DelegateCodeCacheKeep code strings for faster search
-
-
Constructor Summary
Constructors Constructor Description CodeStringCache(jadx.api.ICodeCache backCache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(java.lang.String clsFullName, jadx.api.ICodeInfo codeInfo)voidclose()@NotNull jadx.api.ICodeInfoget(java.lang.String clsFullName)@Nullable java.lang.StringgetCode(java.lang.String clsFullName)voidremove(java.lang.String clsFullName)
-
-
-
Method Detail
-
getCode
@Nullable public @Nullable java.lang.String getCode(java.lang.String clsFullName)
- Specified by:
getCodein interfacejadx.api.ICodeCache- Overrides:
getCodein classjadx.api.impl.DelegateCodeCache
-
get
@NotNull public @NotNull jadx.api.ICodeInfo get(java.lang.String clsFullName)
- Specified by:
getin interfacejadx.api.ICodeCache- Overrides:
getin classjadx.api.impl.DelegateCodeCache
-
add
public void add(java.lang.String clsFullName, jadx.api.ICodeInfo codeInfo)- Specified by:
addin interfacejadx.api.ICodeCache- Overrides:
addin classjadx.api.impl.DelegateCodeCache
-
remove
public void remove(java.lang.String clsFullName)
- Specified by:
removein interfacejadx.api.ICodeCache- Overrides:
removein classjadx.api.impl.DelegateCodeCache
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Overrides:
closein classjadx.api.impl.DelegateCodeCache- Throws:
java.io.IOException
-
-