- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for CtMethod (0.09 sec)
-
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRule.groovy
return acceptOrReject(c, changes, Violation.error(c, " methods removed in internal super class")) } private Set<CtMethod> collectAllPublicApiMethods(CtClass c) { Set<CtMethod> result = [] as Set collect(result, c) return result } private void collect(Set<CtMethod> result, CtClass c) { if (c == null) { return }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 3.7K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/KotlinMetadataQueries.kt
else hasAttribute(ctMember, AttributePredicate.visibility(Visibility.INTERNAL)) fun isKotlinOperatorFunction(ctMethod: CtMethod): Boolean = hasAttribute(ctMethod, AttributePredicate.functionAttribute(KmFunction::isOperator)) fun isKotlinInfixFunction(ctMethod: CtMethod): Boolean = hasAttribute(ctMethod, AttributePredicate.functionAttribute(KmFunction::isInfix)) private
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Aug 21 12:41:59 UTC 2024 - 4.8K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt
internal object KotlinSourceQueries { fun isOverrideMethod(method: JApiMethod): (KtFile) -> Boolean = { ktFile -> val ctMethod = method.newMethod.get() ktFile.kotlinDeclarationSatisfies(ctMethod.declaringClass, ctMethod) { ktMember -> ktMember.hasModifier(KtTokens.OVERRIDE_KEYWORD) } }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Jul 04 08:05:22 UTC 2024 - 11.2K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy
} else if (member instanceof JApiMethod) { JApiMethod method = (JApiMethod) member CtMethod oldMethod = method.oldMethod.get() CtMethod newMethod = method.newMethod.get() inspectParametersNullabilityOf(oldMethod, newMethod) def oldNullability = hasNullableAnnotation(oldMethod)
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Sat Apr 13 10:04:28 UTC 2024 - 5.4K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/JavassistExtensions.kt
* limitations under the License. */ @file:JvmName("JavassistExtensions") package gradlebuild.binarycompatibility import javassist.CtClass import javassist.CtMethod import javassist.bytecode.SyntheticAttribute import javassist.bytecode.annotation.AnnotationMemberValue import javassist.bytecode.annotation.ArrayMemberValue import javassist.bytecode.annotation.BooleanMemberValue
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.6K bytes - Viewed (0) -
src/cmd/api/testdata/src/pkg/p1/p1.go
X() y() } type Error interface { error Temporary() bool } func (myInt) privateTypeMethod() {} func (myInt) CapitalMethodUnexportedType() {} // Deprecated: use TMethod. func (s *S2) SMethod(x int8, y int16, z int64) {} type s struct{} func (s) method() func (s) Method() func (S) StructValueMethod() func (ignored S) StructValueMethodNamedRecv()
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Dec 02 16:29:41 UTC 2022 - 3.3K bytes - Viewed (0)