ExtensionRegistrar, MutableExtensionRegistry, ExtendWith, RegisterExtension
| Modifier and Type | Field and Description |
|---|---|
| private static final Comparator | |
| private static final Predicate | registersExtension
|
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static int | |
| pack-priv static MutableExtensionRegistry | Returns: the new extension registry; nevernullthe parent extension registry to set in the newly
created registry; never parentRegistry, AnnotatedElement nullthe annotated element on which to search for
declarations of annotatedElement)@ExtendWith; never nullPopulate a new |
| private static Extension | |
| pack-priv static void | registerExtensionsFromConstructorParameters(ExtensionRegistrar
the registrar with which to register the extensions; never registrar, Class<?> nullthe class in which to find the declared constructor; never clazz)nullRegister extensions using the supplied registrar from parameters in the
declared constructor of the supplied class that are annotated with
|
| pack-priv static void | registerExtensionsFromExecutableParameters(ExtensionRegistrar
the registrar with which to register the extensions; never registrar, Executable nullthe constructor or method whose parameters should be searched; never executable)nullRegister extensions using the supplied registrar from parameters in the
supplied |
| pack-priv static void | registerExtensionsFromInstanceFields(ExtensionRegistrar
the registrar with which to register the extensions; never registrar, Class<?> nullthe class or interface in which to find the fields; never clazz)nullRegister extensions using the supplied registrar from instance fields in
the supplied class that are annotated with |
| pack-priv static void | registerExtensionsFromStaticFields(ExtensionRegistrar
the registrar with which to register the extensions; never registrar, Class<?> nullthe class or interface in which to find the fields; never clazz)nullRegister extensions using the supplied registrar from static fields in
the supplied class that are annotated with |
| private static Stream | |
| private static Stream | |
| private static Stream |
| orderComparator | back to summary |
|---|---|
private static final Comparator<Field> orderComparator
| |
| registersExtension | back to summary |
|---|---|
| private static final Predicate<Field> registersExtension
| |
| ExtensionUtils | back to summary |
|---|---|
| private ExtensionUtils() | |
| getOrder | back to summary |
|---|---|
private static int getOrder(Field field)
| |
| populateNewExtensionRegistryFromExtendWithAnnotation | back to summary |
|---|---|
| pack-priv static MutableExtensionRegistry populateNewExtensionRegistryFromExtendWithAnnotation(MutableExtensionRegistry parentRegistry, AnnotatedElement annotatedElement) Populate a new
| |
| readAndValidateExtensionFromField | back to summary |
|---|---|
private static Extension readAndValidateExtensionFromField(Field field, @Nullable Object instance, List<Class<? extends Extension>> declarativeExtensionTypes)
| |
| registerExtensionsFromConstructorParameters | back to summary |
|---|---|
| pack-priv static void registerExtensionsFromConstructorParameters(ExtensionRegistrar registrar, Class<?> clazz) Register extensions using the supplied registrar from parameters in the
declared constructor of the supplied class that are annotated with
| |
| registerExtensionsFromExecutableParameters | back to summary |
|---|---|
| pack-priv static void registerExtensionsFromExecutableParameters(ExtensionRegistrar registrar, Executable executable) Register extensions using the supplied registrar from parameters in the
supplied
| |
| registerExtensionsFromInstanceFields | back to summary |
|---|---|
| pack-priv static void registerExtensionsFromInstanceFields(ExtensionRegistrar registrar, Class<?> clazz) Register extensions using the supplied registrar from instance fields in
the supplied class that are annotated with The extensions will be sorted according to
| |
| registerExtensionsFromStaticFields | back to summary |
|---|---|
| pack-priv static void registerExtensionsFromStaticFields(ExtensionRegistrar registrar, Class<?> clazz) Register extensions using the supplied registrar from static fields in
the supplied class that are annotated with The extensions will be sorted according to
| |
| streamDeclarativeExtensionTypes | back to summary |
|---|---|
private static Stream
| |
| streamDeclarativeExtensionTypes | back to summary |
|---|---|
private static Stream
| |
| streamExtensionRegisteringFields | back to summary |
|---|---|
private static Stream
| |