@Test public void testOverrides() { assertThat(type.getVariant(), is(PMessageVariant.EXCEPTION)); assertThat(type.builder(), is(instanceOf(PMessageBuilder.class))); }
@Nonnull @Override public PMessageVariant getVariant() { return PMessageVariant.EXCEPTION; }
PExceptionDescriptor extends PMessageDescriptor<Exception, Field> { @Nonnull @Override public PMessageVariant getVariant() { return PMessageVariant.EXCEPTION; } }
PExceptionDescriptor extends PMessageDescriptor<Exception, Field> { @Nonnull @Override public PMessageVariant getVariant() { return PMessageVariant.EXCEPTION; } PExceptionDescriptor(String packageName,
                                String name,
                                Supplier<PMessageBuilder<Exception, Field>> builderSupplier,
                                boolean simple); }
PExceptionDescriptor extends PMessageDescriptor<Exception, Field> { @Nonnull @Override public PMessageVariant getVariant() { return PMessageVariant.EXCEPTION; } PExceptionDescriptor(String packageName,
                                String name,
                                Supplier<PMessageBuilder<Exception, Field>> builderSupplier,
                                boolean simple); @Nonnull @Override PMessageVariant getVariant(); }
PExceptionDescriptor extends PMessageDescriptor<Exception, Field> { @Nonnull @Override public PMessageVariant getVariant() { return PMessageVariant.EXCEPTION; } PExceptionDescriptor(String packageName,
                                String name,
                                Supplier<PMessageBuilder<Exception, Field>> builderSupplier,
                                boolean simple); @Nonnull @Override PMessageVariant getVariant();  }