MCPcopy Create free account

hub / github.com/spring-projects/spring-data-commons / functions

Functions9,531 in github.com/spring-projects/spring-data-commons

↓ 3 callersMethodregisterConvertersIn
Registers all converters to transform Java-native collections into custom ones and back in the given {@link ConverterRegistry}. @param registry must
src/main/java/org/springframework/data/core/CustomCollections.java:184
↓ 3 callersMethodregisterConvertersIn
Registers converters for wrapper types found on the classpath. @param registry must not be {@literal null}.
src/main/java/org/springframework/data/core/NullableWrapperConverters.java:159
↓ 3 callersMethodregisterConvertersIn
Populates the given {@link GenericConversionService} with the converters registered. @param conversionService {@link ConverterRegistry} to populate;
src/main/java/org/springframework/data/convert/CustomConversions.java:241
↓ 3 callersMethodregisterHints
(RuntimeHints hints, @Nullable ClassLoader classLoader)
src/main/java/org/springframework/data/web/aot/WebRuntimeHints.java:45
↓ 3 callersMethodregisterInvocation
(Method method, Class<?> proxyType)
src/main/java/org/springframework/data/util/MethodInvocationRecorder.java:174
↓ 3 callersMethodregisterMethodInvokerFactory
Registers the given {@link MethodInterceptorFactory} to be used with the factory. Factories registered later enjoy precedence over previously register
src/main/java/org/springframework/data/projection/ProxyProjectionFactory.java:96
↓ 3 callersMethodreplaceTop
Replace the value on the top of the stack with the given value. @param topOfStack the scope at the top of the stack
src/main/java/org/springframework/data/repository/aot/generate/JSONStringer.java:224
↓ 3 callersMethodresolve
Try to resolve {@code KotlinInstantiationDelegate} from a {@link PreferredConstructor}. Resolution attempts to find a JVM constructor equivalent consi
src/main/java/org/springframework/data/mapping/model/KotlinInstantiationDelegate.java:172
↓ 3 callersMethodresolveUsedAnnotations
Resolve ALL annotations present for a given type. Will inspect type, constructors, parameters, methods, fields,... @param type @return never {@litera
src/main/java/org/springframework/data/util/TypeUtils.java:53
↓ 3 callersMethodsample
()
src/test/java/org/springframework/data/projection/DefaultMethodInvokingMethodInterceptorUnitTests.java:47
↓ 3 callersMethodsetConverterCacheEnabled
Configure whether to use converter the cache. Enabled by default. @param converterCacheEnabled set to {@literal true} to enable caching of {@link Pro
src/main/java/org/springframework/data/convert/SimplePropertyValueConversions.java:135
↓ 3 callersMethodsetConverterFactory
Set the {@link PropertyValueConverterFactory} responsible for creating the actual {@link PropertyValueConverter}. @param converterFactory {@link Prop
src/main/java/org/springframework/data/convert/SimplePropertyValueConversions.java:81
↓ 3 callersMethodsetEvaluationContextProvider
Sets the {@link EvaluationContextProvider} to be used by the entity. @param provider must not be {@literal null}.
src/main/java/org/springframework/data/mapping/model/MutablePersistentEntity.java:70
↓ 3 callersMethodsetResources
Configures the {@link Resource}s to be used to initialize the repositories. @param resources
src/main/java/org/springframework/data/repository/init/ResourceReaderRepositoryPopulator.java:98
↓ 3 callersMethodsetUpReferenceAndInititalize
(Object reference, ApplicationEventPublisher publish)
src/test/java/org/springframework/data/repository/init/ResourceReaderRepositoryInitializerUnitTests.java:90
↓ 3 callersMethodshouldUsePublicCopyMethod
(PersistentEntity<?, ?> entity)
src/main/java/org/springframework/data/mapping/model/KotlinCopyMethod.java:158
↓ 3 callersMethodsimple
Helper method used to create a {@link PropertyValueConversions} instance with the configured {@link PropertyValueConverter converters} provided by the
src/main/java/org/springframework/data/convert/PropertyValueConversions.java:72
↓ 3 callersMethodsplitCamelCaseToLower
Splits up the given camel-case {@link String} and returns the parts in lower case. @param source must not be {@literal null}. @return
src/main/java/org/springframework/data/util/ParsingUtils.java:59
↓ 3 callersMethodspliterator
Create a {@link Spliterator} over the elements provided by this {@link Iterator}. Implementations should document characteristic values reported by th
src/main/java/org/springframework/data/util/CloseableIterator.java:53
↓ 3 callersMethodsubModule
(String basePackage, String packageName)
src/test/java/org/springframework/data/DependencyTests.java:127
↓ 3 callersMethodsupportsProperty
Check whether the {@link PersistentProperty} is accepted as part of the copy method. @param property @return
src/main/java/org/springframework/data/mapping/model/KotlinCopyMethod.java:137
↓ 3 callersMethodtest
(Annotation annotation, String metaAnnotationName, String attribute, Predicate<T> filter)
src/main/java/org/springframework/data/util/NullableUtils.java:250
↓ 3 callersMethodtestGenericType
(ResolvableType resolvableType, Predicate<Type> predicate)
src/main/java/org/springframework/data/repository/aot/generate/ResolvableGenerics.java:226
↓ 3 callersMethodtoDoubleArray
Convert the vector to a {@code double} array. The returned array is a copy of the {@link #getSource() source} array and can be modified safely. <p> Co
src/main/java/org/springframework/data/domain/Vector.java:174
↓ 3 callersMethodtoFloatArray
Convert the vector to a {@code float} array. The returned array is a copy of the {@link #getSource() source} array and can be modified safely. <p> Con
src/main/java/org/springframework/data/domain/Vector.java:161
↓ 3 callersMethodtoLookupConfiguration
Returns the {@link ImplementationLookupConfiguration} for the given {@link MetadataReaderFactory}. @param factory must not be {@literal null}. @retur
src/main/java/org/springframework/data/repository/config/RepositoryConfiguration.java:166
↓ 3 callersMethodtoMap
A collector to create a {@link Map} from a {@link Stream} of {@link Pair}s. @return
src/main/java/org/springframework/data/util/Pair.java:86
↓ 3 callersMethodtoScrollPosition
Returns an {@link OffsetScrollPosition} from this pageable if the page request {@link #isPaged() is paged}. <p> Given the exclusive nature of scrollin
src/main/java/org/springframework/data/domain/Pageable.java:212
↓ 3 callersMethodtoString
()
src/main/java/org/springframework/data/repository/aot/generate/JSONObject.java:94
↓ 3 callersMethodtypeNameOf
(ResolvableType type)
src/main/java/org/springframework/data/repository/aot/generate/AotRepositoryFragmentMetadata.java:149
↓ 3 callersMethodusesExplicitFilters
Returns whether the configuration uses explicit filtering to scan for repository types. @return whether the configuration uses explicit filtering to
src/main/java/org/springframework/data/repository/config/RepositoryConfigurationSource.java:149
↓ 3 callersMethodverifyBeanType
Verifies the given bean type to no be {@literal null} and of the type of the current {@link PersistentEntity}. @param bean must not be {@literal null
src/main/java/org/springframework/data/mapping/model/BasicPersistentEntity.java:547
↓ 3 callersMethodverifyContributedMethods
()
src/test/java/org/springframework/data/repository/aot/generate/MethodCapturingRepositoryContributor.java:53
↓ 3 callersMethodvisitInvokeMethodSingleArg
(MethodVisitor mv, Method method)
src/main/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactory.java:1384
↓ 3 callersMethodwhenBoxedInteger
Add a return statement if the return type is {@link Integer} (boxed {@code int} type). @param format the code format string. @param args the format a
src/main/java/org/springframework/data/javapoet/LordOfTheStrings.java:938
↓ 3 callersMethodwhenNot
Add a conditional statement to the builder if the condition is <b>not</b> met. @param state the condition to evaluate. @return a {@link ConditionalSt
src/main/java/org/springframework/data/javapoet/LordOfTheStrings.java:610
↓ 3 callersMethodwithContextFor
(Class<?> type)
src/test/java/org/springframework/data/aot/AotTestCodeContributionBuilder.java:44
↓ 3 callersMethodwithPage
Creates a new {@link Pageable} with {@code pageNumber} applied. @param pageNumber the page numbe, zero-based. @return a new {@link PageRequest} or th
src/main/java/org/springframework/data/domain/Pageable.java:164
↓ 3 callersMethodwithSort
Creates a new {@link PageRequest} with {@link Direction} and {@code properties} applied. @param direction must not be {@literal null}. @param propert
src/main/java/org/springframework/data/domain/PageRequest.java:152
↓ 3 callersMethodwriteContentFor
(BeanRegistrationAotContribution contribution)
src/test/java/org/springframework/data/aot/AotTestCodeContributionBuilder.java:64
↓ 2 callersMethodaccept
(CodeBlock.Builder builder)
src/main/java/org/springframework/data/javapoet/LordOfTheStrings.java:809
↓ 2 callersMethodadaptArgumentIfNecessary
Adapt the given argument against the method parameter, if necessary. @param arg the resolved argument. @param parameter the method parameter descript
src/main/java/org/springframework/data/web/OffsetScrollPositionHandlerMethodArgumentResolverSupport.java:119
↓ 2 callersMethodadd
Add a formatted statement to the builder. @param format the format string. @param args the arguments for the format string. @return {@code this} buil
src/main/java/org/springframework/data/javapoet/LordOfTheStrings.java:628
↓ 2 callersMethodaddAssociation
Adds an {@link Association} to the entity. @param association
src/main/java/org/springframework/data/mapping/model/MutablePersistentEntity.java:47
↓ 2 callersMethodaddEntityCallback
Add the given {@link EntityCallback callback} using generic type argument detection for identification of supported types. @param callback must not b
src/main/java/org/springframework/data/mapping/callback/EntityCallbacks.java:38
↓ 2 callersMethodaddPaginationLinks
(PagedModel<R> resources, Page<?> page, Optional<Link> link)
src/main/java/org/springframework/data/web/PagedResourcesAssembler.java:233
↓ 2 callersMethodaddPaginationLinks
(SlicedModel<R> resources, Slice<?> slice, @Nullable Link link)
src/main/java/org/springframework/data/web/SlicedResourcesAssembler.java:232
↓ 2 callersMethodaddPersistentEntity
Adds the given type to the {@link MappingContext}. @param type must not be {@literal null}. @return
src/main/java/org/springframework/data/mapping/context/AbstractMappingContext.java:385
↓ 2 callersMethodall
Defines the given {@link MultiValueBinding} to be used for the paths. @param binding must not be {@literal null}.
src/main/java/org/springframework/data/querydsl/binding/QuerydslBindings.java:411
↓ 2 callersMethodall
Configures the given {@link MultiValueBinding} to be used for the current type. @param binding must not be {@literal null}.
src/main/java/org/springframework/data/querydsl/binding/QuerydslBindings.java:530
↓ 2 callersMethodand
Returns a new {@link QSort} consisting of the {@link OrderSpecifier}s of the current {@code QSort} combined with the ones from the given {@code QSort}
src/main/java/org/springframework/data/querydsl/QSort.java:126
↓ 2 callersMethodandEvent
Adds the given event to the aggregate for later publication when calling a Spring Data repository's {@code save} or {@code delete} method. Does the sa
src/main/java/org/springframework/data/domain/AbstractAggregateRoot.java:99
↓ 2 callersMethodandEventsFrom
Adds all events contained in the given aggregate to the current one. @param aggregate must not be {@literal null}. @return the aggregate
src/main/java/org/springframework/data/domain/AbstractAggregateRoot.java:79
↓ 2 callersMethodandWriting
Creates a new {@link ConverterAware} by registering the given {@link Function} to add a write converter. @param function must not be {@literal null}.
src/main/java/org/springframework/data/convert/ConverterBuilder.java:130
↓ 2 callersMethodappendOrCreateSortTo
Creates a new {@link Sort} instance from the given {@link SortDefault} or appends it to the given {@link Sort} instance if it's not {@literal null}.
src/main/java/org/springframework/data/web/SortHandlerMethodArgumentResolverSupport.java:157
↓ 2 callersMethodapplyConfiguration
Applies the configuration from {@link CdiRepositoryConfiguration} to {@link RepositoryFactorySupport} by looking up the actual configuration. @param
src/main/java/org/springframework/data/repository/cdi/CdiRepositoryBean.java:411
↓ 2 callersMethodareValidTypes
Returns whether the current type list makes up valid arguments for the given method. @param method must not be {@literal null}. @return
src/main/java/org/springframework/data/spel/spi/ParameterTypes.java:266
↓ 2 callersMethodareValidTypes
Returns whether the current type list makes up valid arguments for the given method. @param method must not be {@literal null}. @return
src/main/java/org/springframework/data/util/ParameterTypes.java:267
↓ 2 callersMethodasPageMetadata
Creates a new {@link PageMetadata} instance from the given {@link Page}. @param page must not be {@literal null}. @return
src/main/java/org/springframework/data/web/PagedResourcesAssembler.java:300
↓ 2 callersMethodasSliceMetadata
Creates a new {@link SliceMetadata} instance from the given {@link Slice}. @param slice must not be {@literal null}. @return
src/main/java/org/springframework/data/web/SlicedResourcesAssembler.java:290
↓ 2 callersMethodassertFieldNameForPropertyName
(String propertyName, String fieldName)
src/test/java/org/springframework/data/mapping/model/CamelCaseAbbreviatingFieldNamingStrategyUnitTests.java:47
↓ 2 callersMethodassertFindOneMethodOn
(Class<?> type, Method method)
src/test/java/org/springframework/data/repository/core/support/DefaultCrudMethodsUnitTests.java:164
↓ 2 callersMethodassertFirstnamesSetFor
(Customers customers, String path)
src/test/java/org/springframework/data/mapping/model/SimplePersistentPropertyPathAccessorUnitTests.java:97
↓ 2 callersMethodassertHasEntityFor
(Class<?> type, SampleMappingContext context, boolean expected)
src/test/java/org/springframework/data/mapping/context/AbstractMappingContextUnitTests.java:389
↓ 2 callersMethodassertIsListOfClasspathResourcesWithPath
(Object source, String path)
src/test/java/org/springframework/data/repository/config/ResourceReaderRepositoryPopulatorBeanDefinitionParserIntegrationTests.java:80
↓ 2 callersMethodassertOnlyConverter
(ConverterBuilder builder, Supplier<GenericConverter> supplier)
src/test/java/org/springframework/data/convert/ConverterBuilderUnitTests.java:83
↓ 2 callersMethodassertRepositoryAvailableFor
(Repositories repositories, Class<?> domainType, Class<?> repositoryInterface)
src/test/java/org/springframework/data/repository/support/RepositoriesUnitTests.java:235
↓ 2 callersMethodassertResolversRegistered
(ApplicationContext context, Class<?>... resolverTypes)
src/test/java/org/springframework/data/web/config/EnableSpringDataWebSupportIntegrationTests.java:336
↓ 2 callersMethodassertReturnTypeAssignable
(Method method, Set<Class<?>> types)
src/main/java/org/springframework/data/repository/query/QueryMethod.java:388
↓ 2 callersMethodassertThatAotContribution
(BeanRegistrationAotContribution actual)
src/test/java/org/springframework/data/aot/BeanRegistrationContributionAssert.java:38
↓ 2 callersMethodassertTransactionAttributeFor
(Class<?> implementationClass)
src/test/java/org/springframework/data/repository/core/support/TransactionRepositoryProxyPostProcessorUnitTests.java:94
↓ 2 callersMethodassertValidDateFieldType
Checks whether the given field has a type that is a supported date type. @param field
src/main/java/org/springframework/data/auditing/AnnotationAuditingMetadata.java:99
↓ 2 callersMethodbetween
Creates a {@link Range} between the given {@link Distance}. @param min can be {@literal null}. @param max can be {@literal null}. @return will never
src/main/java/org/springframework/data/geo/Distance.java:102
↓ 2 callersMethodbootstrapRepositories
(Class<?>... repositoryInterfaces)
src/test/java/org/springframework/data/repository/support/RepositoriesUnitTests.java:245
↓ 2 callersMethodbuildCall
(CodeBlock.Builder builder)
src/main/java/org/springframework/data/javapoet/LordOfTheStrings.java:305
↓ 2 callersMethodcache
( PersistentProperty<?> property, @Nullable PropertyValueConverter<S, T, C> converter)
src/main/java/org/springframework/data/convert/PropertyValueConverterFactories.java:226
↓ 2 callersMethodcacheAndReturn
(Method key, @Nullable Method value)
src/main/java/org/springframework/data/repository/core/support/DefaultRepositoryInformation.java:87
↓ 2 callersMethodcanceled
()
src/main/java/org/springframework/data/repository/core/support/RepositoryMethodInvoker.java:394
↓ 2 callersMethodcheckIfHidden
(Class<?> type)
src/test/java/org/springframework/data/classloadersupport/HidingClassLoader.java:95
↓ 2 callersMethodclosed
Creates a new {@link Range} with inclusive bounds for both values. @param <T> the type of the range. @param from must not be {@literal null}. @param
src/main/java/org/springframework/data/domain/Range.java:77
↓ 2 callersMethodcodeContributionSatisfies
(Consumer<CodeContributionAssert> assertWith)
src/test/java/org/springframework/data/aot/BeanRegistrationContributionAssert.java:42
↓ 2 callersMethodcomplete
Actually creates the query object applying the given criteria object and {@link Sort} definition. @param criteria can be {@literal null}. @param sort
src/main/java/org/springframework/data/repository/query/parser/AbstractQueryCreator.java:166
↓ 2 callersMethodcomputeCallbackInvokerFunction
(EntityCallback<T> callback, Method callbackMethod, Object[] args)
src/main/java/org/springframework/data/mapping/callback/EntityCallbackDiscoverer.java:218
↓ 2 callersMethodconfigureTypeContribution
Customization hook to configure the {@link TypeContributor} used to register the given {@literal type}. @param type the class to configure the contri
src/main/java/org/springframework/data/repository/config/RepositoryRegistrationAotProcessor.java:273
↓ 2 callersMethodcontains
(List<Function> elements, Function f)
src/main/java/org/springframework/data/spel/Functions.java:94
↓ 2 callersMethodcontributeAccessors
Contribute generated cglib accessors for the referenced type. <p> Can be disabled by user configuration ({@code spring.aot.data.accessors.enabled}). H
src/main/java/org/springframework/data/aot/AotTypeConfiguration.java:64
↓ 2 callersMethodcontributeType
(Class<?> type, GenerationContext context)
src/main/java/org/springframework/data/repository/config/RepositoryRegistrationAotProcessor.java:305
↓ 2 callersMethodcontributesMethodSpec
@return whether {@code MethodContributor} can contribute a {@link MethodSpec} implementing the actual query method.
src/main/java/org/springframework/data/repository/aot/generate/MethodContributor.java:82
↓ 2 callersMethodconversionRequired
Returns whether the configured {@link ConversionService} can convert between the given {@link TypeDescriptor}s and the conversion will not be a no-op.
src/main/java/org/springframework/data/repository/core/support/QueryExecutionResultHandler.java:223
↓ 2 callersMethodconvert
(Object source)
src/main/java/org/springframework/data/core/CustomCollections.java:517
↓ 2 callersMethodconvert
(@Nullable Object value, MethodParameter parameter)
src/main/java/org/springframework/data/repository/support/ReflectionRepositoryInvoker.java:198
↓ 2 callersMethodcreate
Creates a new {@link SimplePropertyPath} as subordinary of the given {@link SimplePropertyPath}. @param source @param base @return
src/main/java/org/springframework/data/core/SimplePropertyPath.java:272
↓ 2 callersMethodcreate
(@SuppressWarnings("null") CreationalContext<T> creationalContext)
src/main/java/org/springframework/data/repository/cdi/CdiRepositoryBean.java:205
↓ 2 callersMethodcreateConversionService
(PropertyValueConversions conversions)
src/test/benchmark/org/springframework/data/convert/PropertyValueConversionServiceUnitTests.java:106
↓ 2 callersMethodcreateExpression
(String expression)
src/main/java/org/springframework/data/expression/DefaultValueExpressionParser.java:132
↓ 2 callersMethodcreateInstance
(E entity, ParameterValueProvider<P> provider)
src/main/java/org/springframework/data/mapping/model/ClassGeneratingEntityInstantiator.java:90
↓ 2 callersMethodcreateModel
(Page<S> page, RepresentationModelAssembler<S, R> assembler, Optional<Link> link)
src/main/java/org/springframework/data/web/PagedResourcesAssembler.java:216
↓ 2 callersMethodcreateModel
(Slice<S> slice, RepresentationModelAssembler<S, R> assembler, @Nullable Link link)
src/main/java/org/springframework/data/web/SlicedResourcesAssembler.java:215
↓ 2 callersMethodcreateObjectInstantiator
Creates a dynamically generated {@link ObjectInstantiator} for the given {@link PersistentEntity} and {@link InstanceCreatorMetadata}. There will alwa
src/main/java/org/springframework/data/mapping/model/ClassGeneratingEntityInstantiator.java:260
↓ 2 callersMethodcreatePassivationId
Creates a unique identifier for the given repository type and the given annotations. @param qualifiers must not be {@literal null} or contain {@liter
src/main/java/org/springframework/data/repository/cdi/CdiRepositoryBean.java:147
← previousnext →1,301–1,400 of 9,531, ranked by callers