Class DefaultJavaTypeFactory

java.lang.Object
org.openrewrite.java.internal.DefaultJavaTypeFactory
All Implemented Interfaces:
JavaTypeFactory

public class DefaultJavaTypeFactory extends Object implements JavaTypeFactory
Default implementation of JavaTypeFactory: each method looks up by key in a single JavaTypeCache. On hit, the cached instance is returned. On miss, the compute* family constructs a stub, registers it, then runs the initializer; the *For family invokes the supplier atomically and caches the result.