Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for CHECKCAST (0.15 sec)

  1. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/bytecode/AsmExtensions.kt

        visitFieldInsn(Opcodes.PUTFIELD, owner.value, name, desc)
    }
    
    
    internal
    fun MethodVisitor.CHECKCAST(type: KClass<*>) {
        CHECKCAST(type.internalName)
    }
    
    
    internal
    fun MethodVisitor.CHECKCAST(type: InternalName) {
        visitTypeInsn(Opcodes.CHECKCAST, type)
    }
    
    
    internal
    fun MethodVisitor.ACONST_NULL() {
        visitInsn(Opcodes.ACONST_NULL)
    }
    
    
    internal
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/bytecode/AsmExtensions.kt

    internal
    fun MethodVisitor.PUTFIELD(owner: InternalName, name: String, desc: String) {
        visitFieldInsn(Opcodes.PUTFIELD, owner.value, name, desc)
    }
    
    
    internal
    fun MethodVisitor.CHECKCAST(type: InternalName) {
        visitTypeInsn(Opcodes.CHECKCAST, type)
    }
    
    
    internal
    fun MethodVisitor.ACONST_NULL() {
        visitInsn(Opcodes.ACONST_NULL)
    }
    
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java

      @Override
      public boolean contains(@Nullable Object object) {
        if (!allowNulls) {
          // behave badly
          if (object == null) {
            throw new NullPointerException();
          }
        }
        Platform.checkCast(type, object); // behave badly
        return Arrays.asList(contents).contains(object);
      }
    
      @Override
      public boolean containsAll(Collection<?> collection) {
        if (!allowNulls) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java

      @Override
      public boolean contains(@Nullable Object object) {
        if (!allowNulls) {
          // behave badly
          if (object == null) {
            throw new NullPointerException();
          }
        }
        Platform.checkCast(type, object); // behave badly
        return Arrays.asList(contents).contains(object);
      }
    
      @Override
      public boolean containsAll(Collection<?> collection) {
        if (!allowNulls) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top