- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 215 for isLetter (0.28 sec)
-
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/PropertyAccessorTypeTest.groovy
PropertyAccessorType.fromName('isidore') == PropertyAccessorType.IS_GETTER PropertyAccessorType.of(DeviantBean.class.getMethod("isidore")) == PropertyAccessorType.IS_GETTER PropertyAccessorType.fromName('settings') == PropertyAccessorType.SETTER PropertyAccessorType.of(DeviantBean.class.getMethod("settings", String)) == PropertyAccessorType.SETTER }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 10.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/PropertyAccessorType.java
* * Generally follows the JavaBean conventions, with 2 exceptions: is methods can return `Boolean` (in addition to `boolean`) and setter methods can return non-void values. * * This is essentially a superset of the conventions supported by Java, Groovy and Kotlin. */ public enum PropertyAccessorType { IS_GETTER(2) { @Override public Class<?> propertyTypeFor(Method method) { return method.getReturnType();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 5.7K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolInfoProvider.kt
private fun getJvmName(property: FirProperty, isSetter: Boolean): Name { if (property.backingField?.symbol?.hasAnnotation(JvmStandardClassIds.Annotations.JvmField, analysisSession.useSiteSession) == true) { return property.name } return Name.identifier(getJvmNameAsString(property, isSetter)) } private fun getJvmNameAsString(property: FirProperty, isSetter: Boolean): String {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 7.6K bytes - Viewed (0) -
src/testing/testing.go
if '0' <= r && r <= '9' || 'a' <= r && r <= 'z' || 'A' <= r && r <= 'Z' { return r } if strings.ContainsRune(allowed, r) { return r } } else if unicode.IsLetter(r) || unicode.IsNumber(r) { return r } return -1 } pattern := strings.Map(mapper, c.Name()) c.tempDir, c.tempDirErr = os.MkdirTemp("", pattern) if c.tempDirErr == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 76.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/binding/DefaultStructBindingsStore.java
import static org.gradle.internal.reflect.PropertyAccessorType.GET_GETTER; import static org.gradle.internal.reflect.PropertyAccessorType.IS_GETTER; import static org.gradle.internal.reflect.PropertyAccessorType.SETTER; import static org.gradle.internal.reflect.PropertyAccessorType.hasGetter; import static org.gradle.internal.reflect.PropertyAccessorType.hasSetter;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 29.7K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirPropertyGetterSymbol.kt
override val analysisSession: KaFirSession, ) : KaPropertyGetterSymbol(), KaFirSymbol<FirPropertyAccessorSymbol> { override val token: KaLifetimeToken get() = builder.token init { require(firSymbol.isGetter) } override val psi: PsiElement? by cached { firSymbol.findPsi() } override val isDefault: Boolean get() = withValidityAssertion { firSymbol.fir is FirDefaultPropertyAccessor }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 4.2K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirPropertySetterSymbol.kt
override val firSymbol: FirPropertyAccessorSymbol, override val analysisSession: KaFirSession, ) : KaPropertySetterSymbol(), KaFirSymbol<FirPropertyAccessorSymbol> { init { require(firSymbol.isSetter) } override val psi: PsiElement? by cached { firSymbol.findPsi() } override val isDefault: Boolean get() = withValidityAssertion { firSymbol.fir is FirDefaultPropertyAccessor }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/ClassInspector.java
if (accessorType == PropertyAccessorType.GET_GETTER || accessorType == PropertyAccessorType.IS_GETTER) { String propertyName = accessorType.propertyNameFor(method); classDetails.property(propertyName).addGetter(method); } else if (accessorType == PropertyAccessorType.SETTER) { String propertyName = accessorType.propertyNameFor(method);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGenerator.java
WeaklyTypeReferencingMethod<?, ?> setter = property.getAccessor(SETTER); if (setter != null && property.getSchema() instanceof ScalarValueSchema) { // TODO - should we support this? // Adds a void $propName(Object value) method that simply delegates to the converting setter method
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 55.3K bytes - Viewed (0) -
testing/architecture-test/src/test/java/org/gradle/architecture/test/ProviderMigrationArchitectureTest.java
return input.getOwner().getAllMethods().stream() .filter(method -> PropertyAccessorType.fromName(method.getName()) == PropertyAccessorType.SETTER) .anyMatch(method -> PropertyAccessorType.SETTER.propertyNameFor(method.getName()).equals(propertyNameFromGetter)); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 8.1K bytes - Viewed (0)