@Test public void unwrapWrappedBean() { Outline<TestBeanClass> outline = OutlineBuilder.DEFAULT.defaultCamelCased().build(TestBeanClass.class); TestBeanClass instance = new TestBeanClass(); assertEquals(instance, outline.wrap(instance).get()); }
@Override public Bean<T> wrap(T instance) { return new BeanImpl(instance); }
OutlineImpl implements Outline<T> { @Override public Bean<T> wrap(T instance) { return new BeanImpl(instance); } }
OutlineImpl implements Outline<T> { @Override public Bean<T> wrap(T instance) { return new BeanImpl(instance); } OutlineImpl(T members, boolean camelCased); }
OutlineImpl implements Outline<T> { @Override public Bean<T> wrap(T instance) { return new BeanImpl(instance); } OutlineImpl(T members, boolean camelCased); @Override String camelCasedName(); @Override String camelCasedPluralName(); @Override A getAnnotation(Class<A> annotationClass); @Override boolean hasAnnotation(Class<? extends Annotation> annotationClass); @Override Collection<foundation.stack.datamill.reflection.Method> methods(); @Override Member member(Consumer<T> memberInvoker); @Override String name(); @Override String pluralName(); @Override Property property(Consumer<T> memberInvoker); @Override Collection<String> propertyNames(); @Override Collection<Property> properties(); @Override String snakeCasedName(); @Override String snakeCasedPluralName(); @Override Bean<T> wrap(T instance); @Override Outline<T> withPluralName(String pluralName); }
OutlineImpl implements Outline<T> { @Override public Bean<T> wrap(T instance) { return new BeanImpl(instance); } OutlineImpl(T members, boolean camelCased); @Override String camelCasedName(); @Override String camelCasedPluralName(); @Override A getAnnotation(Class<A> annotationClass); @Override boolean hasAnnotation(Class<? extends Annotation> annotationClass); @Override Collection<foundation.stack.datamill.reflection.Method> methods(); @Override Member member(Consumer<T> memberInvoker); @Override String name(); @Override String pluralName(); @Override Property property(Consumer<T> memberInvoker); @Override Collection<String> propertyNames(); @Override Collection<Property> properties(); @Override String snakeCasedName(); @Override String snakeCasedPluralName(); @Override Bean<T> wrap(T instance); @Override Outline<T> withPluralName(String pluralName);  }