Home
last modified time | relevance | path

Searched refs:builderClass (Results 1 – 14 of 14) sorted by relevance

/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/
DChannelAndServerBuilderTest.java46 public Class<?> builderClass; field in ChannelAndServerBuilderTest
76 Assume.assumeTrue(ServerBuilder.class.isAssignableFrom(builderClass)); in serverBuilderHidesMethod_forPort()
77 Method method = builderClass.getMethod("forPort", int.class); in serverBuilderHidesMethod_forPort()
81 assertSame(builderClass, method.getDeclaringClass()); in serverBuilderHidesMethod_forPort()
86 Assume.assumeTrue(ManagedChannelBuilder.class.isAssignableFrom(builderClass)); in channelBuilderHidesMethod_forAddress()
87 Method method = builderClass.getMethod("forAddress", String.class, int.class); in channelBuilderHidesMethod_forAddress()
91 assertSame(builderClass, method.getDeclaringClass()); in channelBuilderHidesMethod_forAddress()
96 Assume.assumeTrue(ManagedChannelBuilder.class.isAssignableFrom(builderClass)); in channelBuilderHidesMethod_forTarget()
97 Method method = builderClass.getMethod("forTarget", String.class); in channelBuilderHidesMethod_forTarget()
101 assertSame(builderClass, method.getDeclaringClass()); in channelBuilderHidesMethod_forTarget()
/external/auto/value/src/test/java/com/google/auto/value/processor/
DGuavaCollectionBuildersTest.java89 Class<?> builderClass = Class.forName(c.getName() + "$Builder"); in checkImmutableClass() local
90 expect.that(builderMethod.getReturnType()).isEqualTo(builderClass); in checkImmutableClass()
94 .isEqualTo(Arrays.toString(builderClass.getTypeParameters())); in checkImmutableClass()
97 Method buildMethod = builderClass.getMethod("build"); in checkImmutableClass()
103 for (Method m : builderClass.getMethods()) { in checkImmutableClass()
113 expect.withMessage(builderClass.getName() + " has addAll or putAll").that(found).isTrue(); in checkImmutableClass()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DGeneratedMessage.java2039 final Class<? extends Builder> builderClass) {
2041 ensureFieldAccessorsInitialized(messageClass, builderClass);
2072 Class<? extends Builder> builderClass) {
2088 field, camelCaseNames[i], messageClass, builderClass);
2091 field, camelCaseNames[i], messageClass, builderClass);
2095 field, camelCaseNames[i], messageClass, builderClass);
2098 field, camelCaseNames[i], messageClass, builderClass);
2103 field, camelCaseNames[i], messageClass, builderClass,
2107 field, camelCaseNames[i], messageClass, builderClass,
2111 field, camelCaseNames[i], messageClass, builderClass,
[all …]
DGeneratedMessageV3.java1837 final Class<? extends Builder> builderClass) {
1839 ensureFieldAccessorsInitialized(messageClass, builderClass);
1865 Class<? extends Builder> builderClass) {
1881 field, camelCaseNames[i], messageClass, builderClass);
1884 field, camelCaseNames[i], messageClass, builderClass);
1888 field, camelCaseNames[i], messageClass, builderClass);
1891 field, camelCaseNames[i], messageClass, builderClass);
1896 field, camelCaseNames[i], messageClass, builderClass,
1900 field, camelCaseNames[i], messageClass, builderClass,
1904 field, camelCaseNames[i], messageClass, builderClass,
[all …]
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/ext/
DExternalTypeCustomResolverTest.java315 private final Class<? extends PaymentDetails.Builder> builderClass; field in ExternalTypeCustomResolverTest.ClassesWithBuilder.FormOfPayment
317 FormOfPayment(final Class<? extends PaymentDetails.Builder> builderClass) { in FormOfPayment() argument
318 this.builderClass = builderClass; in FormOfPayment()
323 return (Class<T>) this.builderClass.getEnclosingClass(); in getDetailsClass()
328 if (fop.builderClass.getEnclosingClass() == detailsClass) { in fromDetailsClass()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/cfg/
DMapperConfig.java652 Class<? extends TypeResolverBuilder<?>> builderClass) in typeResolverBuilderInstance() argument
656 … TypeResolverBuilder<?> builder = hi.typeResolverBuilderInstance(this, annotated, builderClass); in typeResolverBuilderInstance()
661 …return (TypeResolverBuilder<?>) ClassUtil.createInstance(builderClass, canOverrideAccessModifiers(… in typeResolverBuilderInstance()
DHandlerInstantiator.java93 Annotated annotated, Class<?> builderClass); in typeResolverBuilderInstance() argument
/external/dagger2/java/dagger/internal/codegen/componentgenerator/
DComponentHjarGenerator.java231 TypeElement componentRequirement, ClassName builderClass) { in builderSetterMethod() argument
237 .returns(builderClass) in builderSetterMethod()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/
DDeserializerFactory.java126 Class<?> builderClass) in createBuilderBasedDeserializer() argument
DBeanDeserializerFactory.java156 Class<?> builderClass) in createBuilderBasedDeserializer() argument
162 …builderType = ctxt.getTypeFactory().constructParametricType(builderClass, valueType.getBindings()); in createBuilderBasedDeserializer()
164 builderType = ctxt.constructType(builderClass); in createBuilderBasedDeserializer()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/
DTestHandlerInstantiation.java222 Class<?> builderClass) in typeResolverBuilderInstance() argument
/external/auto/value/src/it/functional/src/test/java/com/google/auto/value/
DAutoValueTest.java1458 Class<?> builderClass = AutoValue_AutoValueTest_BasicWithBuilder.Builder.class; in testBasicWithBuilderHasOnlyOneConstructor() local
1459 Constructor<?>[] constructors = builderClass.getDeclaredConstructors(); in testBasicWithBuilderHasOnlyOneConstructor()
2962 Class<?> builderClass = AutoValue_AutoValueTest_BuilderOfManyAccessLevels.Builder.class; in testBuilderOfManyAccessLevels_accessLevels() local
2966 builderClass, in testBuilderOfManyAccessLevels_accessLevels()
2970 builderClass, in testBuilderOfManyAccessLevels_accessLevels()
2973 Access.PUBLIC, builderClass, "packageProtectedGetterPublicBuilderGetterProtectedSetterInt"); in testBuilderOfManyAccessLevels_accessLevels()
2977 builderClass, in testBuilderOfManyAccessLevels_accessLevels()
2982 builderClass, in testBuilderOfManyAccessLevels_accessLevels()
2987 builderClass, in testBuilderOfManyAccessLevels_accessLevels()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRuleBasedCollator.java226 Class<?> builderClass = classLoader.loadClass("android.icu.impl.coll.CollationBuilder"); in internalBuildTailoring() local
227 … Object builder = builderClass.getConstructor(CollationTailoring.class).newInstance(base); in internalBuildTailoring()
229 Method parseAndBuild = builderClass.getMethod("parseAndBuild", String.class); in internalBuildTailoring()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DRuleBasedCollator.java227 Class<?> builderClass = classLoader.loadClass("com.ibm.icu.impl.coll.CollationBuilder"); in internalBuildTailoring() local
228 … Object builder = builderClass.getConstructor(CollationTailoring.class).newInstance(base); in internalBuildTailoring()
230 Method parseAndBuild = builderClass.getMethod("parseAndBuild", String.class); in internalBuildTailoring()