- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for implements_interface (0.27 sec)
-
test/fixedbugs/issue33219.go
// compiledir // Copyright 2019 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Issue 33219: gccgo assert in "implements_interface()"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 23 12:39:03 UTC 2019 - 249 bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/plugins/PluginInspector.java
this.modelRuleSourceDetector = modelRuleSourceDetector; } public <T> PotentialPlugin<T> inspect(Class<T> type) { boolean implementsInterface = Plugin.class.isAssignableFrom(type); boolean hasRules = this.modelRuleSourceDetector.hasRules(type); if (implementsInterface) { @SuppressWarnings("unchecked") Class<? extends Plugin<?>> cast = (Class<? extends Plugin<?>>) type;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 10:39:11 UTC 2019 - 4.5K bytes - Viewed (0) -
operator/pkg/util/reflect_test.go
type interfaceContainer struct { I anInterface } type anInterface interface { IsU() } type implementsInterface struct { A string } func (*implementsInterface) IsU() {} func TestIsValueInterface(t *testing.T) { intf := &interfaceContainer{ I: &implementsInterface{ A: "a", }, } iField := reflect.ValueOf(intf).Elem().FieldByName("I") if !IsValueInterface(iField) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 10.2K bytes - Viewed (0) -
src/encoding/gob/type.go
// with older encodings for net.IP. See golang.org/issue/6760. // } else if ok, indir := implementsInterface(ut.user, textMarshalerInterfaceType); ok { // ut.externalEnc, ut.encIndir = xText, indir // } if ok, indir := implementsInterface(ut.user, gobDecoderInterfaceType); ok { ut.externalDec, ut.decIndir = xGob, indir } else if ok, indir := implementsInterface(ut.user, binaryUnmarshalerInterfaceType); ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 02:00:26 UTC 2024 - 27.2K bytes - Viewed (0) -
platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/transform/ClosureCreationInterceptingVerifier.java
public static final Action<ClassNode> INSTANCE = new ClosureCreationInterceptingVerifier(); @Override public void execute(ClassNode node) { if (node.implementsInterface(ClassHelper.GENERATED_CLOSURE_Type)) { RulesVisitor.visitGeneratedClosure(node); RuleVisitor.visitGeneratedClosure(node); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorDecoratedTest.groovy
then: obj.callsPrivateStringMethodWithGString("$foo") == "BAR" } def "class can implement interface methods using Groovy property"() { when: def i = create(ImplementsInterface) i.prop = "prop" then: i.prop == "prop" } def "property missing implementation is invoked exactly once, with actual value"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 22K bytes - Viewed (0) -
platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/groovy/scripts/internal/AstUtils.java
} else { return Collections.singleton(statement); } } public static MethodNode getGeneratedClosureImplMethod(ClassNode classNode) { if (!classNode.implementsInterface(ClassHelper.GENERATED_CLOSURE_Type)) { throw new IllegalArgumentException("expecting generated closure class node"); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 10:00:26 UTC 2023 - 11.7K bytes - Viewed (0)