Class CachingElements

java.lang.Object
org.immutables.value.processor.meta.CachingElements

public final class CachingElements extends Object
Some annotation processors have javax.lang.model being implemented using relatively expensive conversions from internal model. When some properties are being queried again and again, annotation mirrors or enclosed elements are worth to store. Implementations wrappers cache some properties eagerly and some lazily.