Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for METHOD (0.21 sec)

  1. platforms/core-runtime/instrumentation-agent-services/src/main/java/org/gradle/internal/instrumentation/agent/AgentControl.java

        @Nullable
        private static Method findAgentMethod(String agentClassName, String methodName, Class<?>... args) {
            Class<?> agentClass = tryLoadAgentClass(agentClassName);
            if (agentClass == null) {
                return null;
            }
            try {
                Method method = agentClass.getMethod(methodName, args);
                method.setAccessible(true);
                return method;
            } catch (NoSuchMethodException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/InstrumentingClassLoader.java

         * Prefer returning {@code null} instead of the {@code classfileBuffer} to continue loading the original bytecode.
         * <p>
         * Throwing the exception from this method aborts the transformation but doesn't affect class loading. The caller
         * (the agent) will catch all throwables thrown by this method and forward them to {@link #transformFailed(String, Throwable)}.
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/CrossProjectModelAccessTrackingParentDynamicObject.kt

    ) : DynamicObject {
        override fun hasMethod(name: String, vararg arguments: Any?): Boolean {
            onAccess(MemberKind.METHOD, name)
            return delegate.hasMethod(name, *arguments)
        }
    
        override fun tryInvokeMethod(name: String, vararg arguments: Any?): DynamicInvokeResult {
            onAccess(MemberKind.METHOD, name)
            return delegate.tryInvokeMethod(name, *arguments)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/LifecycleConfiguration.java

        // -----------/
        // - Methods -/
        // -----------/
    
        /**
         * Method addLifecycle.
         *
         * @param lifecycle a lifecycle object.
         */
        public void addLifecycle(Lifecycle lifecycle) {
            getLifecycles().add(lifecycle);
        } // -- void addLifecycle( Lifecycle )
    
        /**
         * Method getLifecycles.
         *
         * @return List
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 10 19:51:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInstrumentationInKotlinIntegrationTest.groovy

    import org.gradle.test.fixtures.dsl.GradleDsl
    
    class SystemPropertyInstrumentationInKotlinIntegrationTest extends AbstractConfigurationCacheIntegrationTest {
        def "#method is instrumented in Kotlin"() {
            def configurationCache = newConfigurationCacheFixture()
    
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/Cast.java

        /**
         * Casts the given object to the given type, providing a better error message than the default.
         *
         * The standard {@link Class#cast(Object)} method produces unsatisfactory error messages on some platforms
         * when it fails. All this method does is provide a better, consistent, error message.
         *
         * This should be used whenever there is a chance the cast could fail. If in doubt, use this.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Execution.java

        } // -- Object getConfiguration()
    
        /**
         * Method getGoals.
         *
         * @return List
         */
        public java.util.List<String> getGoals() {
            if (this.goals == null) {
                this.goals = new java.util.ArrayList<String>();
            }
    
            return this.goals;
        } // -- java.util.List<String> getGoals()
    
        /**
         * Method removeGoal.
         *
         * @param string a string object.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 10 19:51:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Lifecycle.java

        } // -- String getId()
    
        /**
         * Method getPhases.
         *
         * @return List
         */
        public java.util.List<Phase> getPhases() {
            if (this.phases == null) {
                this.phases = new java.util.ArrayList<Phase>();
            }
    
            return this.phases;
        } // -- java.util.List<Phase> getPhases()
    
        /**
         * Method removePhase.
         *
         * @param phase a phase object.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 10 19:51:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInstrumentationInJavaIntegrationTest.groovy

    import org.gradle.api.Project
    import org.gradle.internal.cc.impl.AbstractConfigurationCacheIntegrationTest
    
    class SystemPropertyInstrumentationInJavaIntegrationTest extends AbstractConfigurationCacheIntegrationTest {
        def "#method is instrumented in Java"() {
            def configurationCache = newConfigurationCacheFixture()
    
            given:
            file("buildSrc/src/main/java/SomePlugin.java") << """
                import ${Plugin.name};
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInstrumentationInStaticGroovyIntegrationTest.groovy

    import org.gradle.api.Project
    import org.gradle.internal.cc.impl.AbstractConfigurationCacheIntegrationTest
    
    class SystemPropertyInstrumentationInStaticGroovyIntegrationTest extends AbstractConfigurationCacheIntegrationTest {
        def "#method is instrumented in static Groovy"() {
            def configurationCache = newConfigurationCacheFixture()
    
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top