Package jadx.api.impl

Class NoOpCodeCache

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

    public class NoOpCodeCache
    extends java.lang.Object
    implements ICodeCache
    • Constructor Summary

      Constructors 
      Constructor Description
      NoOpCodeCache()  
    • 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)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • NoOpCodeCache

        public NoOpCodeCache()
    • 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()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object