Package dev.enola.thing.java
Class ProxyTBF
java.lang.Object
dev.enola.thing.java.ProxyTBF
- All Implemented Interfaces:
TBF
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends Thing,B extends Thing.Builder<T>>
B<T extends Thing,B extends Thing.Builder<T>>
BCreates a newThing.Builderinstance of (Java) type T.booleanboolean
-
Constructor Details
-
ProxyTBF
Constructor.- Parameters:
wrap- is aTBFsuch asImmutableThing.FACTORYorMutableThing.FACTORY.
-
-
Method Details
-
handles
-
handles
-
create
-
create
public <T extends Thing,B extends Thing.Builder<T>> B create(Class<B> builderInterface, Class<T> thingInterface) -
create
public <T extends Thing,B extends Thing.Builder<T>> B create(Class<B> builderInterface, Class<T> thingInterface, int expectedSize) Description copied from interface:TBFCreates a newThing.Builderinstance of (Java) type T.You would typically not use this directly, but via a generated method on the respective thing interface, e.g.
TestSomething.builder(TBF).
-