- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for instanceMethod (0.16 sec)
-
platforms/core-runtime/internal-instrumentation-processor/src/test/groovy/org/gradle/internal/instrumentation/extensions/types/InstrumentedTypesResourceGeneratorTest.groovy
public class InterceptorsDeclaration { @InterceptCalls @InstanceMethod public static File[] intercept_listFiles(@Receiver File thisFile) { return new File[0]; } @InterceptCalls @InstanceMethod @InterceptInherited
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 02 15:44:14 UTC 2023 - 2.8K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/declarations/GroovyFileInterceptors.java
import org.gradle.internal.classpath.Instrumented; import org.gradle.internal.instrumentation.api.annotations.CallableKind.GroovyPropertyGetter; import org.gradle.internal.instrumentation.api.annotations.CallableKind.InstanceMethod; import org.gradle.internal.instrumentation.api.annotations.InterceptGroovyCalls; import org.gradle.internal.instrumentation.api.annotations.ParameterKind.CallerClassName;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jul 24 15:57:56 UTC 2023 - 16.8K bytes - Viewed (0) -
subprojects/core/src/testInterceptors/java/org/gradle/internal/classpath/BasicCallInterceptionTestInterceptorsDeclaration.java
@InterceptCalls @CallableKind.InstanceMethod public static void intercept_test( @ParameterKind.Receiver InterceptorTestReceiver self, @ParameterKind.CallerClassName String consumer ) { self.intercepted = "test()"; self.test(); } @InterceptCalls @CallableKind.InstanceMethod public static void intercept_test(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 23 08:15:56 UTC 2023 - 5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/declarations/FileInterceptorsDeclaration.java
public class FileInterceptorsDeclaration { @InterceptCalls @InstanceMethod public static File[] intercept_listFiles( @Receiver File thisFile, @CallerClassName String consumer ) { return Instrumented.fileListFiles(thisFile, consumer); } @InterceptCalls @InstanceMethod public static File[] intercept_listFiles( @Receiver File thisFile,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 20 12:34:20 UTC 2023 - 4K bytes - Viewed (0) -
subprojects/core/src/testInterceptors/java/org/gradle/internal/classpath/CompositeCallInterceptionTestInterceptorsDeclaration.java
@InterceptCalls @CallableKind.InstanceMethod public static void intercept_test( @ParameterKind.Receiver CompositeInterceptorTestReceiver self, @ParameterKind.CallerClassName String consumer ) { self.intercepted = "composite.test()"; self.test(); } @InterceptCalls @CallableKind.InstanceMethod public static void intercept_test(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 09 11:38:52 UTC 2024 - 5.4K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/test/groovy/org/gradle/internal/instrumentation/processor/codegen/jvmbytecode/InterceptJvmCallsGeneratorTest.groovy
@SpecificJvmCallInterceptors(generatedClassName = "my.InterceptorDeclaration_JvmBytecodeImpl") public class FileInterceptorsDeclaration { @InterceptCalls @InstanceMethod @InterceptInherited public static String intercept_getDescription(@Receiver Rule thisRule) { return ""; } } """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 10 19:21:09 UTC 2024 - 12K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/model/CallableKindInfo.java
public enum CallableKindInfo { STATIC_METHOD, INSTANCE_METHOD, AFTER_CONSTRUCTOR, GROOVY_PROPERTY_GETTER, GROOVY_PROPERTY_SETTER; public static CallableKindInfo fromAnnotation(Annotation annotation) { if (annotation instanceof CallableKind.StaticMethod) { return STATIC_METHOD; } if (annotation instanceof CallableKind.InstanceMethod) { return INSTANCE_METHOD; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 02 15:44:14 UTC 2023 - 1.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/declarations/NioFileInterceptors.java
} @InterceptCalls @InstanceMethod public static String intercept_probeContentType( @Receiver FileTypeDetector self, Path path, @CallerClassName String consumer ) throws IOException { tryReportFileOpened(path, consumer); return self.probeContentType(path); } @InterceptCalls @InstanceMethod
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 20 12:34:20 UTC 2023 - 12.2K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/test/groovy/org/gradle/internal/instrumentation/processor/codegen/groovy/InterceptGroovyCallsGeneratorTest.groovy
@SpecificGroovyCallInterceptors(generatedClassName = "my.InterceptorDeclaration_GroovyBytecodeImpl") public class FileInterceptorsDeclaration { @InterceptCalls @InstanceMethod public static File[] intercept_listFiles(@Receiver File thisFile) { return new File[0]; } } """ when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 15 09:48:43 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/test/groovy/org/gradle/internal/instrumentation/processor/codegen/jvmbytecode/InterceptJvmCallsResourceGeneratorTest.groovy
@SpecificJvmCallInterceptors(generatedClassName = "my.InterceptorDeclaration_JvmBytecodeImpl1") public class RuleInterceptorsDeclaration { @InterceptCalls @InstanceMethod public static String intercept_getDescription(@Receiver Rule thisRule) { return ""; } } """ def givenSecondSource = source """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 02 15:44:14 UTC 2023 - 3.4K bytes - Viewed (0)