Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 876 for Reflection (0.3 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/PersistentModuleSource.java

         * id. The id is used during serialization to identify the kind of
         * source and select the appropriate serializer. This is _just_
         * a performance optimization, in order to avoid reflection during
         * serialization.
         *
         * @return the source id
         */
        int getCodecId();
    
        /**
         * A codec will be used by the metadata serializer to encode
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/platform/android/Android10SocketAdapter.kt

    import okhttp3.Protocol
    import okhttp3.internal.SuppressSignatureCheck
    import okhttp3.internal.platform.Platform
    import okhttp3.internal.platform.Platform.Companion.isAndroid
    
    /**
     * Simple non-reflection SocketAdapter for Android Q+.
     *
     * These API assumptions make it unsuitable for use on earlier Android versions.
     */
    @SuppressLint("NewApi")
    @SuppressSignatureCheck
    class Android10SocketAdapter : SocketAdapter {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/CollectionCreationTester.java

       * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5045147">Sun bug 5045147</a> is fixed.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getCreateWithNullUnsupportedMethod() {
        return Helpers.getMethod(CollectionCreationTester.class, "testCreateWithNull_unsupported");
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MultisetForEachEntryTester.java

      /**
       * Returns {@link Method} instances for the remove tests that assume multisets support duplicates
       * so that the test of {@code Multisets.forSet()} can suppress them.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static List<Method> getForEachEntryDuplicateInitializingMethods() {
        return Arrays.asList(
            Helpers.getMethod(MultisetForEachEntryTester.class, "testForEachEntryDuplicates"));
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/api/internal/coerce/StringToEnumTransformer.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.api.internal.coerce;
    
    import org.codehaus.groovy.reflection.CachedClass;
    import org.gradle.internal.Cast;
    import org.gradle.util.internal.GUtil;
    
    public class StringToEnumTransformer implements MethodArgumentsTransformer, PropertySetTransformer {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/base-services-groovy/src/test/groovy/org/gradle/api/internal/coerce/StringToEnumTransformerTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.api.internal.coerce
    
    import org.codehaus.groovy.reflection.CachedClass
    import spock.lang.Specification
    
    @SuppressWarnings("GroovyUnusedDeclaration")
    class StringToEnumTransformerTest extends Specification {
    
        def transformer = new StringToEnumTransformer()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/ReflectiveEnvironment.java

     */
    
    package org.gradle.internal.nativeintegration;
    
    import org.gradle.internal.os.OperatingSystem;
    
    import java.lang.reflect.Field;
    import java.util.Map;
    
    /**
     * Uses reflection to update private environment state
     */
    public class ReflectiveEnvironment {
    
        public void unsetenv(String name) {
            Map<String, String> map = getEnv();
            map.remove(name);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. platforms/software/security/src/main/java/org/gradle/security/internal/PGPUtils.java

            });
            return userIds;
        }
    
        /**
         * Returns the number of keys in the given keyring.
         * There is no public API to do this, so we use reflection to access the private field.
         * Public keys iterator is not used because it would require O(n) time to count the keys.
         */
        @SuppressWarnings("unchecked")
        public static int getSize(PGPPublicKeyRing keyring) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/ResourceCleaningCompilationTask.java

         * but the {@link JavaCompiler#getStandardFileManager(DiagnosticListener, Locale, Charset)}
         * method does not take arguments, so the cache can't be turned off.
         * So instead we clean it ourselves using reflection.
         */
        private void cleanupZipCache() {
            try {
                Class<?> zipFileIndexCache = Class.forName("com.sun.tools.javac.file.ZipFileIndexCache");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/SetAddTester.java

       * can suppress it. See {@link CollectionAddTester#getAddNullSupportedMethod()} for details.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getAddSupportedNullPresentMethod() {
        return Helpers.getMethod(SetAddTester.class, "testAdd_supportedNullPresent");
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top