@Override public AnnotatedTypeConfigurator<X> configureAnnotatedType() { if (annotatedTypeSet) { throw BootstrapLogger.LOG.configuratorAndSetMethodBothCalled(ProcessAnnotatedType.class.getSimpleName(), getReceiver()); } checkWithinObserverNotification(); if (configurator == null) { configurator = new AnnotatedTypeConfiguratorImpl<>(annotatedType); } BootstrapLogger.LOG.configureAnnotatedTypeCalled(getReceiver(), annotatedType); return configurator; }
@Override public AnnotatedTypeConfigurator<X> configureAnnotatedType() { if (annotatedTypeSet) { throw BootstrapLogger.LOG.configuratorAndSetMethodBothCalled(ProcessAnnotatedType.class.getSimpleName(), getReceiver()); } checkWithinObserverNotification(); if (configurator == null) { configurator = new AnnotatedTypeConfiguratorImpl<>(annotatedType); } BootstrapLogger.LOG.configureAnnotatedTypeCalled(getReceiver(), annotatedType); return configurator; }
@Override public void veto() { checkWithinObserverNotification(); this.veto = true; BootstrapLogger.LOG.annotatedTypeVetoed(getReceiver(), annotatedType); }
@Override public void veto() { checkWithinObserverNotification(); this.veto = true; BootstrapLogger.LOG.annotatedTypeVetoed(getReceiver(), annotatedType); }
@Override public AnnotatedTypeConfigurator<X> configureAnnotatedType() { if (annotatedTypeSet) { throw BootstrapLogger.LOG.configuratorAndSetMethodBothCalled(ProcessAnnotatedType.class.getSimpleName(), getReceiver()); } checkWithinObserverNotification(); if (configurator == null) { configurator = new AnnotatedTypeConfiguratorImpl<>(annotatedType); } BootstrapLogger.LOG.configureAnnotatedTypeCalled(getReceiver(), annotatedType); return configurator; }
@Override public AnnotatedTypeConfigurator<X> configureAnnotatedType() { if (annotatedTypeSet) { throw BootstrapLogger.LOG.configuratorAndSetMethodBothCalled(ProcessAnnotatedType.class.getSimpleName(), getReceiver()); } checkWithinObserverNotification(); if (configurator == null) { configurator = new AnnotatedTypeConfiguratorImpl<>(annotatedType); } BootstrapLogger.LOG.configureAnnotatedTypeCalled(getReceiver(), annotatedType); return configurator; }
@Override public void veto() { checkWithinObserverNotification(); this.veto = true; BootstrapLogger.LOG.annotatedTypeVetoed(getReceiver(), annotatedType); }
@Override public AnnotatedTypeConfigurator<X> configureAnnotatedType() { if (annotatedTypeSet) { throw BootstrapLogger.LOG.configuratorAndSetMethodBothCalled(ProcessAnnotatedType.class.getSimpleName(), getReceiver()); } checkWithinObserverNotification(); if (configurator == null) { configurator = new AnnotatedTypeConfiguratorImpl<>(annotatedType); } BootstrapLogger.LOG.configureAnnotatedTypeCalled(getReceiver(), annotatedType); return configurator; }
@Override public void veto() { checkWithinObserverNotification(); this.veto = true; BootstrapLogger.LOG.annotatedTypeVetoed(getReceiver(), annotatedType); }
@Override public void veto() { checkWithinObserverNotification(); this.veto = true; BootstrapLogger.LOG.annotatedTypeVetoed(getReceiver(), annotatedType); }
@Override public void veto() { checkWithinObserverNotification(); this.veto = true; BootstrapLogger.LOG.annotatedTypeVetoed(getReceiver(), annotatedType); }
@Override public void setAnnotatedType(AnnotatedType<X> type) { if (configurator != null) { throw BootstrapLogger.LOG.configuratorAndSetMethodBothCalled(ProcessAnnotatedType.class.getSimpleName(), getReceiver()); } checkWithinObserverNotification(); if (type == null) { throw BootstrapLogger.LOG.annotationTypeNull(this); } replaceAnnotatedType(type); annotatedTypeSet = true; BootstrapLogger.LOG.setAnnotatedTypeCalled(getReceiver(), annotatedType, type); }
@Override public void setAnnotatedType(AnnotatedType<X> type) { if (configurator != null) { throw BootstrapLogger.LOG.configuratorAndSetMethodBothCalled(ProcessAnnotatedType.class.getSimpleName(), getReceiver()); } checkWithinObserverNotification(); if (type == null) { throw BootstrapLogger.LOG.annotationTypeNull(this); } replaceAnnotatedType(type); annotatedTypeSet = true; BootstrapLogger.LOG.setAnnotatedTypeCalled(getReceiver(), annotatedType, type); }
@Override public void setAnnotatedType(AnnotatedType<X> type) { if (configurator != null) { throw BootstrapLogger.LOG.configuratorAndSetMethodBothCalled(ProcessAnnotatedType.class.getSimpleName(), getReceiver()); } checkWithinObserverNotification(); if (type == null) { throw BootstrapLogger.LOG.annotationTypeNull(this); } replaceAnnotatedType(type); annotatedTypeSet = true; BootstrapLogger.LOG.setAnnotatedTypeCalled(getReceiver(), annotatedType, type); }
@Override public void setAnnotatedType(AnnotatedType<X> type) { if (configurator != null) { throw BootstrapLogger.LOG.configuratorAndSetMethodBothCalled(ProcessAnnotatedType.class.getSimpleName(), getReceiver()); } checkWithinObserverNotification(); if (type == null) { throw BootstrapLogger.LOG.annotationTypeNull(this); } replaceAnnotatedType(type); annotatedTypeSet = true; BootstrapLogger.LOG.setAnnotatedTypeCalled(getReceiver(), annotatedType, type); }
@Override public void setAnnotatedType(AnnotatedType<X> type) { if (configurator != null) { throw BootstrapLogger.LOG.configuratorAndSetMethodBothCalled(ProcessAnnotatedType.class.getSimpleName(), getReceiver()); } checkWithinObserverNotification(); if (type == null) { throw BootstrapLogger.LOG.annotationTypeNull(this); } replaceAnnotatedType(type); annotatedTypeSet = true; BootstrapLogger.LOG.setAnnotatedTypeCalled(getReceiver(), annotatedType, type); }
@Override public void setAnnotatedType(AnnotatedType<X> type) { checkWithinObserverNotification(); if (type == null) { throw BootstrapLogger.LOG.annotationTypeNull(this); } if (!this.originalAnnotatedType.getJavaClass().equals(type.getJavaClass())) { throw BootstrapLogger.LOG.annotatedTypeJavaClassMismatch(this.annotatedType.getJavaClass(), type.getJavaClass()); } AnnotatedTypeValidator.validateAnnotatedType(type); BootstrapLogger.LOG.setAnnotatedTypeCalled(getReceiver(), annotatedType, type); this.annotatedType = type; }