Class StaticTypeCheckingSupport.ObjectArrayStaticTypesHelper

  • Enclosing class:
    StaticTypeCheckingSupport

    public static class StaticTypeCheckingSupport.ObjectArrayStaticTypesHelper
    extends Object
    A DGM-like method which adds support for method calls which are handled specifically by the Groovy compiler.
    • Constructor Detail

      • ObjectArrayStaticTypesHelper

        public ObjectArrayStaticTypesHelper()
    • Method Detail

      • getAt

        public static <T> T getAt​(T[] arr,
                                  int index)
      • putAt

        public static <T,​U extends T> void putAt​(T[] arr,
                                                       int index,
                                                       U object)