Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 572 for METHOD (0.1 sec)

  1. android/guava/src/com/google/common/reflect/Types.java

        private static final ImmutableMap<String, Method> typeVariableMethods;
    
        static {
          ImmutableMap.Builder<String, Method> builder = ImmutableMap.builder();
          for (Method method : TypeVariableImpl.class.getMethods()) {
            if (method.getDeclaringClass().equals(TypeVariableImpl.class)) {
              try {
                method.setAccessible(true);
              } catch (AccessControlException e) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirMetadataCalculator.kt

                        generateLanguageVersionSettingsBasedMetadataFlags(firSession.languageVersionSettings)
            )
    }
    
    private fun getAsmMethodSignatureWithCorrection(method: PsiMethod): String = buildString {
        append("(")
        if (method.containingClass?.isEnum == true && method.isConstructor) {
            // Enum constructors are represented without name/ordinal in light classes, which seems fine because they don't have name/ordinal
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. src/cmd/doc/main.go

    			return
    		case method == "":
    			if pkg.symbolDoc(symbol) {
    				return
    			}
    		case pkg.printMethodDoc(symbol, method):
    			return
    		case pkg.printFieldDoc(symbol, method):
    			return
    		}
    	}
    }
    
    // failMessage creates a nicely formatted error message when there is no result to show.
    func failMessage(paths []string, symbol, method string) error {
    	var b bytes.Buffer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/typeset.go

    			if check != nil {
    				err := check.newError(DuplicateDecl)
    				err.addf(atPos(pos), "duplicate method %s", m.name)
    				err.addf(atPos(mpos[other.(*Func)]), "other declaration of method %s", m.name)
    				err.report()
    			}
    		default:
    			// We have a duplicate method name in an embedded (not explicitly declared) method.
    			// Check method signatures after all types are computed (go.dev/issue/33656).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/deprecation/DeprecationMessagesTest.groovy

        def "logs replaced method message"() {
            when:
            DeprecationLogger.deprecateMethod(DeprecationLogger, "method()").replaceWith("replacementMethod()").willBeRemovedInGradle9().undocumented().nagUser()
    
            then:
            expectMessage "The DeprecationLogger.method() method has been deprecated. This is scheduled to be removed in Gradle ${NEXT_GRADLE_VERSION}. Please use the replacementMethod() method instead."
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 20K bytes
    - Viewed (0)
  6. cmd/auth-handler_test.go

    		}
    	}
    }
    
    // Provides a fully populated http request instance, fails otherwise.
    func mustNewRequest(method string, urlStr string, contentLength int64, body io.ReadSeeker, t *testing.T) *http.Request {
    	req, err := newTestRequest(method, urlStr, contentLength, body)
    	if err != nil {
    		t.Fatalf("Unable to initialize new http request %s", err)
    	}
    	return req
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  7. maven-di/src/main/java/org/apache/maven/di/impl/InjectorImpl.java

            // Bind inner providers
            for (Method method : key.getRawType().getDeclaredMethods()) {
                if (method.isAnnotationPresent(Provides.class)) {
                    if (method.getTypeParameters().length != 0) {
                        throw new DIException("Parameterized method are not supported " + method);
                    }
                    Object qualifier = ReflectionUtils.qualifierOf(method);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/properties_providers.adoc

    A property may be _mutable_, meaning that it has both a `get()` method and `set()` method:
    
    ====
    include::sample[dir="snippets/providers/property/kotlin",files="build.gradle.kts[tags=prop-managed]"]
    include::sample[dir="snippets/providers/property/groovy",files="build.gradle[tags=prop-managed]"]
    ====
    
    Or _read-only_, meaning that it has only a `get()` method.
    The _read-only_ properties are _providers_:
    
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/reflect/Types.java

        private static final ImmutableMap<String, Method> typeVariableMethods;
    
        static {
          ImmutableMap.Builder<String, Method> builder = ImmutableMap.builder();
          for (Method method : TypeVariableImpl.class.getMethods()) {
            if (method.getDeclaringClass().equals(TypeVariableImpl.class)) {
              try {
                method.setAccessible(true);
              } catch (AccessControlException e) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  10. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/AbstractPluginValidationIntegrationSpec.groovy

            expect:
            assertValidationFailsWith([
                error(methodShouldNotBeAnnotatedConfig { type('MyTask').kind('method').method('notAGetter').annotation('Input') }, 'validation_problems', 'ignored_annotations_on_method'),
                error(methodShouldNotBeAnnotatedConfig { type('MyTask.Options').kind('method').method('notANestedGetter').annotation('Input') }, 'validation_problems', 'ignored_annotations_on_method'),
            ])
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 40.7K bytes
    - Viewed (0)
Back to top