Package org.teavm.cache
Class EmptyMethodNodeCache
- java.lang.Object
-
- org.teavm.cache.EmptyMethodNodeCache
-
- All Implemented Interfaces:
MethodNodeCache
public class EmptyMethodNodeCache extends Object implements MethodNodeCache
-
-
Field Summary
Fields Modifier and Type Field Description static EmptyMethodNodeCacheINSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AstCacheEntryget(MethodReference methodReference, CacheStatus cacheStatus)AsyncMethodNodegetAsync(MethodReference methodReference, CacheStatus cacheStatus)voidstore(MethodReference methodReference, AstCacheEntry node, Supplier<String[]> dependencies)voidstoreAsync(MethodReference methodReference, AsyncMethodNode node, Supplier<String[]> dependencies)
-
-
-
Field Detail
-
INSTANCE
public static final EmptyMethodNodeCache INSTANCE
-
-
Method Detail
-
get
public AstCacheEntry get(MethodReference methodReference, CacheStatus cacheStatus)
- Specified by:
getin interfaceMethodNodeCache
-
store
public void store(MethodReference methodReference, AstCacheEntry node, Supplier<String[]> dependencies)
- Specified by:
storein interfaceMethodNodeCache
-
getAsync
public AsyncMethodNode getAsync(MethodReference methodReference, CacheStatus cacheStatus)
- Specified by:
getAsyncin interfaceMethodNodeCache
-
storeAsync
public void storeAsync(MethodReference methodReference, AsyncMethodNode node, Supplier<String[]> dependencies)
- Specified by:
storeAsyncin interfaceMethodNodeCache
-
-