Class MethodList.ForLoadedMethods

    • Field Detail

      • methods

        private final java.util.List<? extends java.lang.reflect.Method> methods
        The loaded methods that are represented by this method list.
      • constructors

        private final java.util.List<? extends java.lang.reflect.Constructor<?>> constructors
        The loaded constructors that are represented by this method list.
    • Constructor Detail

      • ForLoadedMethods

        public ForLoadedMethods​(java.lang.Class<?> type)
        Creates a new list for a loaded type. Method descriptions are created on demand.
        Parameters:
        type - The type to be represented by this method list.
      • ForLoadedMethods

        public ForLoadedMethods​(java.lang.reflect.Constructor<?>[] constructor,
                                java.lang.reflect.Method[] method)
        Creates a method list that represents the given constructors and methods in their given order. The constructors are assigned the indices before the methods.
        Parameters:
        constructor - The constructors to be represented by the method list.
        method - The methods to be represented by the method list.
      • ForLoadedMethods

        public ForLoadedMethods​(java.util.List<? extends java.lang.reflect.Constructor<?>> constructors,
                                java.util.List<? extends java.lang.reflect.Method> methods)
        Creates a method list that represents the given constructors and methods in their given order. The constructors are assigned the indices before the methods.
        Parameters:
        constructors - The constructors to be represented by the method list.
        methods - The methods to be represented by the method list.