Class FixedCodeCache

  • All Implemented Interfaces:
    jadx.api.ICodeCache, java.io.Closeable, java.lang.AutoCloseable

    public class FixedCodeCache
    extends jadx.api.impl.DelegateCodeCache
    Code cache with fixed size of wrapped code cache ('remove' and 'add' methods will do nothing).
    • Field Summary

      • Fields inherited from class jadx.api.impl.DelegateCodeCache

        backCache
    • Constructor Summary

      Constructors 
      Constructor Description
      FixedCodeCache​(jadx.api.ICodeCache codeCache)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(java.lang.String clsFullName, jadx.api.ICodeInfo codeInfo)  
      void remove​(java.lang.String clsFullName)  
      • Methods inherited from class jadx.api.impl.DelegateCodeCache

        close, contains, get, getCode
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FixedCodeCache

        public FixedCodeCache​(jadx.api.ICodeCache codeCache)
    • Method Detail

      • remove

        public void remove​(java.lang.String clsFullName)
        Specified by:
        remove in interface jadx.api.ICodeCache
        Overrides:
        remove in class jadx.api.impl.DelegateCodeCache
      • add

        public void add​(java.lang.String clsFullName,
                        jadx.api.ICodeInfo codeInfo)
        Specified by:
        add in interface jadx.api.ICodeCache
        Overrides:
        add in class jadx.api.impl.DelegateCodeCache