- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for InstanceModelView (0.35 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/InstanceModelView.java
import org.gradle.internal.Actions; import org.gradle.model.internal.type.ModelType; @ThreadSafe public class InstanceModelView<T> implements ModelView<T> { private final ModelPath path; private final ModelType<T> type; private final T instance; private final Action<? super T> onClose; public InstanceModelView(ModelPath path, ModelType<T> type, T instance, Action<? super T> onClose) { this.path = path;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/ModelElementProjection.java
* limitations under the License. */ package org.gradle.model.internal.inspect; import com.google.common.base.Optional; import org.gradle.model.ModelElement; import org.gradle.model.internal.core.InstanceModelView; import org.gradle.model.internal.core.ModelView; import org.gradle.model.internal.core.MutableModelNode; import org.gradle.model.internal.core.TypeCompatibilityModelProjectionSupport;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelReferenceNode.java
import com.google.common.base.Optional; import com.google.common.base.Predicate; import org.gradle.internal.Cast; import org.gradle.model.RuleSource; import org.gradle.model.internal.core.InstanceModelView; import org.gradle.model.internal.core.ModelAction; import org.gradle.model.internal.core.ModelActionRole; import org.gradle.model.internal.core.ModelAdapter; import org.gradle.model.internal.core.ModelNode;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 8.3K bytes - Viewed (0) -
platforms/software/platform-base/src/main/java/org/gradle/platform/base/internal/registry/BinaryTasksModelRuleExtractor.java
import org.gradle.model.ModelMap; import org.gradle.model.internal.core.DirectNodeNoInputsModelAction; import org.gradle.model.internal.core.DomainObjectCollectionBackedModelMap; import org.gradle.model.internal.core.InstanceModelView; import org.gradle.model.internal.core.ModelAction; import org.gradle.model.internal.core.ModelActionRole; import org.gradle.model.internal.core.ModelReference; import org.gradle.model.internal.core.ModelView;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 05 00:10:35 UTC 2024 - 6.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/EmptyReferenceProjection.java
super(type); } @Override protected ModelView<T> toView(MutableModelNode modelNode, ModelRuleDescriptor ruleDescriptor, boolean writable) { return InstanceModelView.of(modelNode.getPath(), getType(), null); } @Override public Optional<String> getValueDescription(MutableModelNode mutableModelNode) { return Optional.absent(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/SpecializedModelMapProjection.java
P instance = DirectInstantiator.instantiate(viewImpl, publicType, elementType, ruleDescriptor, modelNode, state, creatorStrategy); return InstanceModelView.of(modelNode.getPath(), publicType, instance, state.closer()); } @Override public <T> boolean canBeViewedAs(ModelType<T> targetType) { return targetType.isAssignableFrom(publicType); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/UnmanagedModelProjection.java
@Override protected ModelView<M> toView(MutableModelNode modelNode, ModelRuleDescriptor ruleDescriptor, boolean writable) { M instance = Cast.uncheckedCast(modelNode.getPrivateData()); return InstanceModelView.of(modelNode.getPath(), getType(), instance); } @Override public Optional<String> getValueDescription(MutableModelNode modelNode) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ModelSetNodeInitializerExtractionStrategy.java
NodeBackedModelSet<T> set = new NodeBackedModelSet<T>(setType, elementType, ruleDescriptor, modelNode, state, childStrategy); return InstanceModelView.of(modelNode.getPath(), setType, set, state.closer()); } @Override public boolean equals(Object o) { if (this == o) { return true; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelMapModelProjection.java
NodeBackedModelMap<I> builder = new NodeBackedModelMap<I>(publicType, baseItemModelType, sourceDescriptor, node, state, creatorStrategy); return InstanceModelView.of( node.getPath(), ModelTypes.modelMap(itemType), builder.withType(itemType), state.closer() ); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 6.6K bytes - Viewed (0) -
testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt
Class <org.gradle.model.internal.core.InstanceModelView> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (InstanceModelView.java:0) Class <org.gradle.model.internal.core.ModelAction> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (ModelAction.java:0)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 967.9K bytes - Viewed (0)