Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 430 for MethodA (0.61 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/ModelRuleExtractor.java

                }
            }
        }
    
        private void validateNonRuleMethod(Method method, RuleSourceValidationProblemCollector problems) {
            if (!Modifier.isPrivate(method.getModifiers()) && !Modifier.isStatic(method.getModifiers()) && !method.isSynthetic() && !GroovyMethods.isObjectMethod(method)) {
                problems.add(method, "A method that is not annotated as a rule must be private");
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 26K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/TestThread.java

        return getMethod(methodName, arguments).invoke(lockLikeObject, arguments);
      }
    
      private Method getMethod(String methodName, Object... arguments) throws Exception {
        METHODS:
        for (Method method : lockLikeObject.getClass().getMethods()) {
          Class<?>[] parameterTypes = method.getParameterTypes();
          if (method.getName().equals(methodName) && (parameterTypes.length == arguments.length)) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. testing/architecture-test/src/test/java/org/gradle/architecture/test/ArchUnitFixture.java

            return new ArchCondition<JavaClass>(" override method " + getMethodDescription(name, parameterTypes)) {
    
                @Override
                public void check(JavaClass javaClass, ConditionEvents events) {
                    Optional<JavaMethod> method = getMethodRecursively(javaClass);
                    if (method.isPresent()) {
                        JavaClass sourceClass = method.get().getSourceCodeLocation().getSourceClass();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  4. pkg/volume/volume.go

    )
    
    // Volume represents a directory used by pods or hosts on a node. All method
    // implementations of methods in the volume interface must be idempotent.
    type Volume interface {
    	// GetPath returns the path to which the volume should be mounted for the
    	// pod.
    	GetPath() string
    
    	// MetricsProvider embeds methods for exposing metrics (e.g.
    	// used, available space).
    	MetricsProvider
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. src/go/types/unify.go

    				if p.identical(q) {
    					return true // same pair was compared before
    				}
    				p = p.prev
    			}
    			// The method set of x must be a subset of the method set
    			// of y or vice versa, and the common methods must unify.
    			xmethods := xset.methods
    			ymethods := yset.methods
    			// The smaller method set must be the subset, if it exists.
    			if len(xmethods) > len(ymethods) {
    				xmethods, ymethods = ymethods, xmethods
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/unify.go

    				if p.identical(q) {
    					return true // same pair was compared before
    				}
    				p = p.prev
    			}
    			// The method set of x must be a subset of the method set
    			// of y or vice versa, and the common methods must unify.
    			xmethods := xset.methods
    			ymethods := yset.methods
    			// The smaller method set must be the subset, if it exists.
    			if len(xmethods) > len(ymethods) {
    				xmethods, ymethods = ymethods, xmethods
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  7. src/go/types/subst.go

    			//
    			// In this case the interface will not be substituted here, because its
    			// method signatures do not depend on the type parameter P, but we still
    			// need to create new interface methods to hold the instantiated
    			// receiver. This is handled by Named.expandUnderlying.
    			iface.methods, _ = replaceRecvType(methods, t, iface)
    
    			// If check != nil, check.newInterface will have saved the interface for later completion.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/signature.go

    	}
    	return sig
    }
    
    // Recv returns the receiver of signature s (if a method), or nil if a
    // function. It is ignored when comparing signatures for identity.
    //
    // For an abstract method, Recv returns the enclosing interface either
    // as a *Named or an *Interface. Due to embedding, an interface may
    // contain methods whose receiver type is a different interface.
    func (s *Signature) Recv() *Var { return s.recv }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:33:05 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/main/java/org/gradle/internal/deprecation/DeprecationLogger.java

     * <p>
     * The deprecateX methods in this class return a builder that guides creation of the deprecation message.
     * Summary is populated by the deprecateX methods in this class.
     * Context can be added in free text using {@link DeprecationMessageBuilder#withContext(String)}.
     * Advice is constructed contextually using {@link DeprecationMessageBuilder.WithReplacement#replaceWith(Object)} methods based on the thing being deprecated.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/decl.go

    }
    
    func (check *Checker) collectMethods(obj *TypeName) {
    	// get associated methods
    	// (Checker.collectObjects only collects methods with non-blank names;
    	// Checker.resolveBaseTypeName ensures that obj is not an alias name
    	// if it has attached methods.)
    	methods := check.methods[obj]
    	if methods == nil {
    		return
    	}
    	delete(check.methods, obj)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
Back to top