public final class PartProvider
extends Object
Produce a part by user provided sample code and type, make sure the part can be produced from the sample code and only once.
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
buildPart
public static <J2 extends J> J2 buildPart(@Language("java")
String codeToProvideAPart,
Class<J2> expected,
String... classpath)