public static class JavassistClassBytecodeProcessor.CachingPolicy extends Object
JavassistClassBytecodeProcessor. Every JavassistClassBytecodeProcessor may
choose to either never be cached or always be cached, optionally with a custom tag.| Modifier and Type | Field and Description |
|---|---|
static JavassistClassBytecodeProcessor.CachingPolicy |
ALWAYS
A caching policy signifying that a processor can always be cached.
|
static JavassistClassBytecodeProcessor.CachingPolicy |
NEVER
A caching policy signifying that a processor must never be cached.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getTag()
Returns the optional tag used by this caching policy.
|
static JavassistClassBytecodeProcessor.CachingPolicy |
withTag(String tag)
Constructs a caching policy that uses the given tag.
|
public static final JavassistClassBytecodeProcessor.CachingPolicy ALWAYS
public static final JavassistClassBytecodeProcessor.CachingPolicy NEVER
public String getTag()
nullpublic static JavassistClassBytecodeProcessor.CachingPolicy withTag(String tag)
Copyright © 2018. All rights reserved.