Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Anonymous (0.15 sec)

  1. build-logic/documentation/src/test/resources/org/gradle/test/GroovyClassWithInnerTypes.groovy

            /**
             * This is an inner inner class.
             */
            class AnotherInner {
                InnerClass outer
            }
        }
    
        GroovyInterface getSomeProp() {
            // ignore anonymous classes
            return new GroovyInterface() {}
        }
    
        InnerClass.AnotherInner innerClassProp
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 609 bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/resources/org/gradle/test/JavaClassWithInnerTypes.java

            }
        }
    
        Sub2Interface getSomeProp() {
            // ignore classes in method bodies
            class IgnoreMe {}
    
            // ignore anonymous classes
            return new Sub2Interface() { };
        }
    
        // ignore anonymous classes
        final Runnable ignoreMe = new Runnable() {
            public void run() {
            }
        };
    
        InnerClass.AnotherInner getInnerClassProp() { return null; }
    Java
    - Registered: Wed Apr 10 11:36:10 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 876 bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AnonymousClassesFilteringTest.kt

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import org.junit.Test
    
    
    class AnonymousClassesFilteringTest : AbstractBinaryCompatibilityTest() {
    
        @Test
        fun `anonymous classes are excluded (java)`() {
    
            checkBinaryCompatibleJava(
                v1 = """
                    public class Source {
                        public void some() {}
                    }
                """,
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.8K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/filters/AnonymousClassesFilter.groovy

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility.filters
    
    import japicmp.filter.ClassFilter
    import javassist.CtClass
    
    import java.util.regex.Pattern
    
    /**
     * Matches JVM anonymous classes.
     */
    class AnonymousClassesFilter implements ClassFilter {
    
        private static final Pattern PATTERN = Pattern.compile('.*\\$[0-9]+$')
    
        @Override
        boolean matches(CtClass ctClass) {
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/common/extensions.kt

     * hardware resources (e.g. performance test).
     */
    fun Requirements.requiresNotSharedHost() {
        doesNotContain("agent.host.type", "shared")
    }
    
    /**
     * This is an undocumented location that forbids anonymous access.
     * We put artifacts here to avoid accidentally exposing sensitive information publicly.
     */
    const val hiddenArtifactDestination = ".teamcity/gradle-logs"
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 10:49:15 GMT 2024
    - 13K bytes
    - Viewed (0)
  6. CONTRIBUTING.md

    The build cache has anonymous read access, so you don't need to authenticate in order to use it. You can use a different build cache node by specifying `-DcacheNode=us` for a build cache node in the US or `-DcacheNode=au` for a build cache node in Australia.
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat May 04 07:43:02 GMT 2024
    - 15.6K bytes
    - Viewed (0)
Back to top