Package jadx.api.impl

Class DelegateCodeCache

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

    public abstract class DelegateCodeCache
    extends java.lang.Object
    implements ICodeCache
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(java.lang.String clsFullName, ICodeInfo codeInfo)  
      void close()  
      boolean contains​(java.lang.String clsFullName)  
      @NotNull ICodeInfo get​(java.lang.String clsFullName)  
      @Nullable java.lang.String getCode​(java.lang.String clsFullName)  
      void remove​(java.lang.String clsFullName)  
      • Methods inherited from class java.lang.Object

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

    • Constructor Detail

      • DelegateCodeCache

        public DelegateCodeCache​(ICodeCache backCache)
    • Method Detail

      • add

        public void add​(java.lang.String clsFullName,
                        ICodeInfo codeInfo)
        Specified by:
        add in interface ICodeCache
      • remove

        public void remove​(java.lang.String clsFullName)
        Specified by:
        remove in interface ICodeCache
      • get

        @NotNull
        public @NotNull ICodeInfo get​(java.lang.String clsFullName)
        Specified by:
        get in interface ICodeCache
      • getCode

        @Nullable
        public @Nullable java.lang.String getCode​(java.lang.String clsFullName)
        Specified by:
        getCode in interface ICodeCache
      • contains

        public boolean contains​(java.lang.String clsFullName)
        Specified by:
        contains in interface ICodeCache
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException