- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for getAccessorType (0.17 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/binding/ManagedPropertyMethodBinding.java
public ModelType<?> getDeclaredPropertyType() { PropertyAccessorType accessorType = getAccessorType(); assert accessorType != null; return ModelType.of(accessorType.genericPropertyTypeFor(getViewMethod().getMethod())); } @Override public String toString() { PropertyAccessorType accessorType = getAccessorType(); assert accessorType != null;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/binding/StructMethodBinding.java
/** * Returns the property accessor type of this method, or {@code null} if the method is not a property accessor. */ @Nullable PropertyAccessorType getAccessorType();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/binding/AbstractStructMethodBinding.java
this.accessorType = accessorType; } @Override public WeaklyTypeReferencingMethod<?, ?> getViewMethod() { return viewMethod; } @Override public PropertyAccessorType getAccessorType() { return accessorType; } @Override public abstract String toString();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/StructSchemaExtractionStrategySupport.java
} private static ModelType<?> determinePropertyType(PropertyAccessorExtractionContext accessor) { return accessor == null ? null : ModelType.of(accessor.getAccessorType().genericPropertyTypeFor(accessor.getMostSpecificDeclaration())); } private static <P> ModelPropertyExtractionResult<P> createProperty(ModelType<P> propertyType, ModelPropertyExtractionContext propertyContext) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 09:46:00 UTC 2024 - 9.5K bytes - Viewed (0) -
platforms/software/platform-base/src/main/java/org/gradle/platform/base/internal/VariantAspectExtractionStrategy.java
for (PropertyAccessorExtractionContext accessor : propertyResult.getAccessors()) { if (accessor.isAnnotationPresent(Variant.class)) { if (accessor.getAccessorType() == PropertyAccessorType.SETTER) { throw invalidProperty(extractionContext, property, "@Variant annotation is only allowed on getter methods"); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 3.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ModelPropertyExtractionContext.java
} public boolean isWritable() { return hasSetter(accessors.keySet()); } public void addAccessor(PropertyAccessorExtractionContext accessor) { PropertyAccessorType type = accessor.getAccessorType(); // TODO:LPTR What happens when the property has multiple accessors in the same role but with different type? // if (accessors.containsKey(type)) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/PropertyAccessorExtractionContext.java
} } } return Collections.unmodifiableMap(annotations); } public PropertyAccessorType getAccessorType() { return accessorType; } public Collection<Method> getDeclaringMethods() { return declaringMethods; } public Method getMostSpecificDeclaration() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 4.6K bytes - Viewed (0)