- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for addMethods (0.15 sec)
-
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeClassSourceGenerator.java
.collect(Collectors.toList()); return builder -> builder .addAnnotation(GENERATED_ANNOTATION.asClassName()) .addModifiers(Modifier.PUBLIC) .addMethods(methods); } private static MethodSpec mapToMethodSpec(CallInterceptionRequest request, Consumer<? super CallInterceptionRequest> onProcessedRequest, Consumer<? super HasFailures.FailureInfo> onFailure) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 09:11:23 UTC 2024 - 11K bytes - Viewed (0) -
platforms/core-runtime/base-asm/src/main/java/org/gradle/model/internal/asm/ClassVisitorScope.java
addMethod(ACC_PUBLIC, name, descriptor, signature, body); } /** * Adds a method to the generated type. */ protected void addMethod(int access, String name, String descriptor, BytecodeFragment body) { addMethod(access, name, descriptor, null, body); } /** * Adds a method to the generated type.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 15:31:25 UTC 2024 - 3.9K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaDataTest.groovy
ClassMetaData classMetaData = new ClassMetaData("org.gradle.$SIMPLE_CLASSNAME") classMetaData.addMethod(METHOD_NAME, TypeMetaData.VOID, null) classMetaData.addMethod(METHOD_NAME, TypeMetaData.VOID, null).addParameter('param1', new TypeMetaData("java.lang.Integer")) def overloadedCalculateMethod = classMetaData.addMethod('calculate', TypeMetaData.VOID, null)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.7K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/InterceptGroovyCallsGenerator.java
.addParameter(boolean.class, "isStatic") .addCode(generateMatchesSignatureCodeFromInterceptorSignatureTree(signatureTree)) .build(); generatedClass.addMethod(interceptMethod); generatedClass.addMethod(matchesSignature); if (hasGroovyPropertyRequests(requests)) { generatedClass.addSuperinterface(PROPERTY_AWARE_CALL_INTERCEPTOR_CLASS);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:40 UTC 2024 - 16.4K bytes - Viewed (0) -
src/go/types/named_test.go
} } // TestMethodOrdering is a simple test verifying that the indices of methods of // a named type remain the same as long as the same source and AddMethod calls // are presented to the type checker in the same order (go.dev/issue/61298). func TestMethodOrdering(t *testing.T) { const src = ` package p type T struct{} func (T) a() {} func (T) c() {}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 05 16:29:58 UTC 2024 - 3.9K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/RelevantMethods.java
continue; } addMethod(method); } } return new RelevantMethods(decorators, factories, configurers); } private void addMethod(Method method) { if (method.getName().equals("configure")) { if (!method.getReturnType().equals(Void.TYPE)) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:53:25 UTC 2024 - 5.1K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaData.java
this.packageName = classMetaData.getPackageName(); this.style = LinkMetaData.Style.Javadoc; for (MethodMetaData method : classMetaData.getDeclaredMethods()) { addMethod(method, style); } for (EnumConstantMetaData enumConstant : classMetaData.getEnumConstants()) { addEnumConstant(enumConstant, style); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 7.4K bytes - Viewed (0) -
src/cmd/compile/internal/types2/named_test.go
} } // TestMethodOrdering is a simple test verifying that the indices of methods of // a named type remain the same as long as the same source and AddMethod calls // are presented to the type checker in the same order (go.dev/issue/61298). func TestMethodOrdering(t *testing.T) { const src = ` package p type T struct{} func (T) a() {} func (T) c() {}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 16 21:06:56 UTC 2024 - 3.6K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/jvmbytecode/InterceptJvmCallsGenerator.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 10 18:50:01 UTC 2024 - 27.4K bytes - Viewed (0) -
platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/transform/RuleVisitor.java
statements.add(new ExpressionStatement(new BinaryExpression(new FieldExpression(ruleFactoryField), ASSIGN, new VariableExpression("ruleFactory")))); node.addMethod(new MethodNode("makeRule", Modifier.PUBLIC, ClassHelper.VOID_TYPE,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 14:04:39 UTC 2024 - 18.3K bytes - Viewed (0)