Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for JApiClass (0.14 sec)

  1. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractSuperClassChangesRule.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility.rules
    
    import japicmp.model.JApiClass
    import japicmp.model.JApiCompatibility
    import japicmp.util.Optional
    import javassist.CtClass
    import me.champeau.gradle.japicmp.report.Violation
    
    import java.util.regex.Pattern
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/SinceAnnotationMissingRule.java

        /**
         * Kotlin file-facade classes can't have kdoc comments.
         */
        private boolean isKotlinFileFacadeClass(JApiCompatibility member) {
            return member instanceof JApiClass && KotlinMetadataQueries.INSTANCE.isKotlinFileFacadeClass(((JApiClass) member).getNewClass().get());
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Sep 21 16:02:23 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NewIncubatingAPIRule.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility.rules;
    
    import japicmp.model.JApiClass;
    import japicmp.model.JApiCompatibility;
    import japicmp.model.JApiField;
    import japicmp.model.JApiHasAnnotations;
    import japicmp.model.JApiMethod;
    import me.champeau.gradle.japicmp.report.Violation;
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy

            }
    
            void putUserData(String key, Object value) {
                userData[key] = value
            }
        }
    
        ClassPool instanceScopedPool = new ClassPool()
    
        JApiClass apiClass = Stub(JApiClass)
    
        def setup() {
            instanceScopedPool.appendSystemPath()
        }
    
        void noViolation(def rule) {
            assert rule.maybeViolation(apiClass) == null
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 2K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/JApiCmpExtensions.kt

    @file:JvmName("JapicmpExtensions")
    
    package gradlebuild.binarycompatibility
    
    import japicmp.model.JApiBehavior
    import japicmp.model.JApiClass
    import japicmp.model.JApiCompatibility
    import japicmp.model.JApiField
    
    
    internal
    val JApiCompatibility.jApiClass: JApiClass
        get() = when (this) {
            is JApiClass -> this
            is JApiField -> this.getjApiClass()
            is JApiBehavior -> this.getjApiClass()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:24 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/BinaryCompatibilityRepository.kt

            member.jApiClass.let { declaringClass ->
                sources.sourceFileAndSourceRootFor(declaringClass.sourceFilePath).let { (sourceFile, sourceRoot) ->
                    if (declaringClass.isKotlin) ApiSourceFile.Kotlin(sourceFile, sourceRoot)
                    else ApiSourceFile.Java(sourceFile, sourceRoot)
                }
            }
    
        private
        val JApiClass.sourceFilePath: String
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRule.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility.rules
    
    import japicmp.model.JApiClass
    import japicmp.model.JApiCompatibility
    import japicmp.model.JApiCompatibilityChange
    import javassist.CtClass
    import javassist.CtMethod
    import javassist.Modifier
    import me.champeau.gradle.japicmp.report.Violation
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingMissingRule.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility.rules;
    
    import japicmp.model.JApiClass;
    import japicmp.model.JApiCompatibility;
    import japicmp.model.JApiConstructor;
    import japicmp.model.JApiField;
    import japicmp.model.JApiHasAnnotations;
    import japicmp.model.JApiMethod;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

            jApiClassifier.fullyQualifiedName >> TEST_INTERFACE_NAME
            jApiField.name >> 'field'
            jApiField.jApiClass >> jApiClassifier
            jApiMethod.name >> 'method'
            jApiMethod.jApiClass >> jApiClassifier
            jApiConstructor.name >> 'ApiTest'
            jApiConstructor.jApiClass >> jApiClassifier
    
            incubatingAnnotation.fullyQualifiedName >> Incubating.name
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Dec 01 20:12:19 UTC 2023
    - 16K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

            return isAnnotatedWithInject(member)
        }
    
        protected boolean isIncubating(JApiHasAnnotations member) {
            if (member instanceof JApiClass) {
                return isIncubatingClass((JApiClass) member)
            }
            if (member instanceof JApiMethod) {
                return isIncubatingOrOverrideMethod((JApiMethod) member)
            }
            if (member instanceof JApiField) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:30:48 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top