Home
last modified time | relevance | path

Searched refs:providerMethod (Results 1 – 5 of 5) sorted by relevance

/external/junit-params/src/main/java/junitparams/internal/parameters/
DParamsFromMethodCommon.java36 …Object[] getDataFromMethod(Method providerMethod) throws IllegalAccessException, InvocationTargetE… in getDataFromMethod() argument
37 … return encapsulateParamsIntoArrayIfSingleParamsetPassed((Object[]) providerMethod.invoke(null)); in getDataFromMethod()
50 Method providerMethod = findMethodInTestClassHierarchy(methodName, sourceClass); in invokeMethodWithParams() local
51 if (providerMethod == null) { in invokeMethodWithParams()
55 return invokeParamsProvidingMethod(providerMethod, sourceClass); in invokeMethodWithParams()
/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/
DEarlyValidator.java632 for (ExecutableElement providerMethod : providerMethods) { in validateProviderMethods()
634 validatorContext.elements().getTypeElement(providerMethod.getReturnType().toString()); in validateProviderMethods()
637 showError(PROVIDING_NON_CROSS_PROFILE_TYPE_ERROR, providerMethod); in validateProviderMethods()
641 if (providerMethod.getParameters().stream() in validateProviderMethods()
643 || providerMethod.getParameters().size() > 1) { in validateProviderMethods()
644 showError(PROVIDER_INCORRECT_ARGS_ERROR, providerMethod); in validateProviderMethods()
648 if (providerMethod.getModifiers().contains(Modifier.STATIC)) { in validateProviderMethods()
649 showError(STATIC_PROVIDER_ERROR, providerMethod); in validateProviderMethods()
655 providerMethod, validatorContext.types(), validatorContext.elements()); in validateProviderMethods()
658 showError(METHOD_STATICTYPES_ERROR, providerMethod); in validateProviderMethods()
DInternalCrossProfileClassGenerator.java114 ExecutableElement providerMethod = in generateInternalCrossProfileClass() local
116 String paramsString = providerMethod.getParameters().isEmpty() ? "()" : "(context)"; in generateInternalCrossProfileClass()
118 CodeBlock.of("$L$L", providerMethod.getSimpleName(), paramsString); in generateInternalCrossProfileClass()
/external/guice/core/test/com/google/inject/spi/
DProviderMethodsTest.java668 Number providerMethod() {
706 Number providerMethod() {
727 Number providerMethod() {
746 Number providerMethod() {
766 Number providerMethod() {
785 Double providerMethod() {
805 Double providerMethod() {
/external/guice/core/src/com/google/inject/internal/
DProviderMethodsModule.java100 for (ProviderMethod<?> providerMethod : getProviderMethods(binder)) { in configure()
101 providerMethod.configure(binder); in configure()