- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 309 for bean3 (0.07 sec)
-
subprojects/core/src/integTest/groovy/org/gradle/api/internal/project/taskfactory/TaskPropertyNamingIntegrationTest.groovy
output.contains "Input property 'bean'" output.contains "Input property 'bean.input'" output.contains "Input property 'bean.nestedBean'" output.contains "Input file property 'bean.inputDir'" output.contains "Input file property 'bean.nestedBean.inputFile'" output.contains "Output file property 'bean.outputDir'" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 21 19:38:50 UTC 2022 - 16.8K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/AnnotationProcessingTasks.java
return bean.getInputFile(); } } public static class TaskWithOptionalNestedBean extends TaskWithAction { private final Bean bean; @Inject public TaskWithOptionalNestedBean(Bean bean) { this.bean = bean; } @Nested @Optional public Bean getBean() { return bean; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 12 11:41:48 UTC 2022 - 15.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/NestedInputIntegrationTest.groovy
Object bean @OutputFile final RegularFileProperty outputFile = project.objects.fileProperty() @TaskAction void writeInputToFile() { outputFile.getAsFile().get().text = bean == null ? 'null' : bean.toString() if (bean != null) { bean.doStuff() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 42.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/bean/DefaultPropertyWalkerTest.groovy
1 * visitor.visitInputProperty('bean', { it.call().implementationClassIdentifier == NestedBean.name }, false) 1 * visitor.visitInputProperty('bean.nestedInput', { it.call() == 'nested' }, false) 1 * visitor.visitInputFileProperty('bean.inputDir', _, _, _, _, _, _, InputFilePropertyType.DIRECTORY)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 20:42:35 UTC 2024 - 10.1K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/JavaObjectSerializationCodecTest.kt
@Test fun `can handle mix of Serializable and plain beans`() { val bean = Pair(42, "42") verifyRoundtripOf({ // A plain bean that holds a reference to a serializable object // sharing a reference to another plain bean. Pair(SerializableWriteObjectBean(bean), bean) }) { (decodedSerializable, decodedBean) ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 16.1K bytes - Viewed (0) -
platforms/core-configuration/bean-serialization-services/src/main/kotlin/org/gradle/internal/serialize/beans/services/BeanPropertyWriter.kt
} } } private fun conventionValueOf(bean: Any, field: Field, isExplicitValue: Field) = field.get(bean).let { fieldValue -> if (isExplicitValue.get(bean).uncheckedCast()) { fieldValue } else { getConventionValue(bean, field, fieldValue) ?.takeIf { conventionValue ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 3.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/util/BeanUtil.java
dest.put(destPropertyName, convertedValue); } } /** * コピー元のBeanを新しいBeanのインスタンスにコピーして返します。 * * @param <T> コピー先となるBeanの型 * @param src コピー元のBean。{@literal null}であってはいけません * @param destClass コピー先となるBeanの型。{@literal null}であってはいけません * @return コピーされた新しいBean */ public static <T> T copyBeanToNewBean(final Object src, final Class<T> destClass) {
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 21.5K bytes - Viewed (0) -
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/SerializedLambdaParametersCheckingCodec.kt
* If some of them are not, it logs a problem. * * The lambda is encoded straightforwardly as a bean, and, upon decoding, the bean is expected to be the [SerializedLambda]. * Beside the compliance checks, the values are encoded or decoded as beans without any special handling. * * @see [org.gradle.internal.serialize.beans.services.unsupportedFieldDeclaredTypes] */ object SerializedLambdaParametersCheckingCodec : Codec<SerializedLambda> {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 3.4K bytes - Viewed (0) -
platforms/core-configuration/bean-serialization-services/src/main/kotlin/org/gradle/internal/serialize/beans/services/BeanPropertyReader.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 3.5K bytes - Viewed (0) -
platforms/core-configuration/bean-serialization-services/src/main/kotlin/org/gradle/internal/serialize/beans/services/BeanConstructors.kt
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.internal.serialize.beans.services import groovy.lang.GroovyObjectSupport import org.gradle.cache.internal.CrossBuildInMemoryCache import org.gradle.cache.internal.CrossBuildInMemoryCacheFactory import org.gradle.internal.service.scopes.Scope
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 2.7K bytes - Viewed (0)