Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for voidMethod (0.05 seconds)

  1. build-logic/documentation/src/test/resources/org/gradle/test/JavaClassWithMethods.java

        }
    
        /**
         * A method that returns String.
         */
        String stringMethod(String stringParam) {
            return "value";
        }
    
        /**
         * A method that returns void.
         */
        void voidMethod() {
        }
    
        /**
         * A method that returns a reference type.
         */
        CombinedInterface refTypeMethod(JavaInterface refParam, boolean aFlag) {
            return null;
        }
    
        /**
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 717 bytes
    - Click Count (0)
  2. build-logic/documentation/src/test/resources/org/gradle/test/GroovyClassWithMethods.groovy

        }
    
        /**
         * A method that returns String.
         */
        String stringMethod(String stringParam) {
            'value'
        }
    
        /**
         * A method that returns void.
         */
        void voidMethod() {
        }
    
        /**
         * A method that returns a reference type.
         */
        public final CombinedInterface refTypeMethod(JavaInterface someThing, boolean aFlag) {
            null
        }
    
        /**
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 952 bytes
    - Click Count (0)
  3. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

          return new BadEquals();
        }
    
        // primitive ignored
        public int returnsInt() {
          throw new UnsupportedOperationException();
        }
    
        // void ignored
        public void voidMethod() {
          throw new UnsupportedOperationException();
        }
    
        // non-public method ignored
        static Object badButNotPublic() {
          return new BadEquals();
        }
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 36.3K bytes
    - Click Count (0)
Back to Top