- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 202 for isGetter (0.14 sec)
-
testing/architecture-test/src/test/java/org/gradle/architecture/test/KotlinCompatibilityTest.java
private final boolean isGetter; @Nullable public static Accessor from(JavaMethod method) { PropertyAccessorType propertyAccessorType = PropertyAccessorType.fromName(method.getName()); if (propertyAccessorType != null && (KotlinCompatibilityTest.isGetter(method, propertyAccessorType) || KotlinCompatibilityTest.isSetter(method, propertyAccessorType))) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 9K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/connection/ToolingParameterProxy.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 15 10:27:26 UTC 2023 - 7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ModelPropertyExtractionContext.java
PropertyAccessorExtractionContext isGetter = getAccessor(PropertyAccessorType.IS_GETTER); if (getGetter == null && isGetter == null) { return null; } Iterable<Method> getMethods = getGetter != null ? getGetter.getDeclaringMethods() : Collections.<Method>emptyList(); Iterable<Method> isMethods = isGetter != null ? isGetter.getDeclaringMethods() : Collections.<Method>emptyList();
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/ide/tooling-api/src/main/java/org/gradle/tooling/internal/adapter/MethodInvocation.java
this.parameterTypes = parameterTypes; this.view = view; this.viewType = viewType; this.delegate = delegate; this.parameters = parameters; } public boolean isGetter() { return parameterTypes.length == 0 && isIsOrGet(); } public boolean isIsOrGet() { return (name.startsWith("get") && name.length() > 3) || (name.startsWith("is") && name.length() > 2); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 2.6K 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-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10SymbolProvider.kt
} return KaFe10PsiNamedClassOrObjectSymbol(psi, analysisContext) } override fun getPropertyAccessorSymbol(psi: KtPropertyAccessor): KaPropertyAccessorSymbol { return if (psi.isGetter) { KaFe10PsiPropertyGetterSymbol(psi, analysisContext) } else { KaFe10PsiPropertySetterSymbol(psi, analysisContext) } }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu May 23 17:29:30 UTC 2024 - 6.9K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt
return when { firSymbol.isGetter -> buildGetterSymbol(firSymbol) else -> buildSetterSymbol(firSymbol) } } fun buildGetterSymbol(firSymbol: FirPropertyAccessorSymbol): KaFirPropertyGetterSymbol { checkRequirementForBuildingSymbol<KaFirPropertyGetterSymbol>(firSymbol, firSymbol.isGetter) return symbolsCache.cache(firSymbol) {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:43 UTC 2024 - 33.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGeneratorTest.groovy
when: def methods = impl.class.declaredMethods def getGetter = methods.find { it.name == 'getFlag' } def isGetter = methods.find { it.name == 'isFlag' } then: (getGetter != null) == expectGetGetter (isGetter != null) == expectIsGetter where: type | expectGetGetter | expectIsGetter BooleanGetter1 | true | false
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 27.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/CallInterceptingMetaClass.java
} @Override public Object invokeMissingProperty(Object instance, String propertyName, Object optionalValue, boolean isGetter) { return adaptee.invokeMissingProperty(instance, propertyName, optionalValue, isGetter); } @Override public Object invokeConstructor(Object[] arguments) { return adaptee.invokeConstructor(arguments); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 13:46:35 UTC 2024 - 21.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/installer.go
// Add actions at the item path: /api/apiVersion/resource/{name} actions = appendIf(actions, action{"GET", itemPath, nameParams, namer, false}, isGetter) if getSubpath { actions = appendIf(actions, action{"GET", itemPath + "/{path:*}", proxyParams, namer, false}, isGetter) } actions = appendIf(actions, action{"PUT", itemPath, nameParams, namer, false}, isUpdater)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 18:15:22 UTC 2024 - 51.5K bytes - Viewed (0)