Class ParameterDescription.Latent

    • Constructor Detail

      • Latent

        public Latent​(MethodDescription.InDefinedShape declaringMethod,
                      ParameterDescription.Token token,
                      int index,
                      int offset)
        Creates a latent parameter description. All provided types are attached to this instance before they are returned.
        Parameters:
        declaringMethod - The method that is declaring the parameter.
        token - The token describing the shape of the parameter.
        index - The index of the parameter.
        offset - The parameter's offset in the local method variables array.
      • Latent

        public Latent​(MethodDescription.InDefinedShape declaringMethod,
                      TypeDescription.Generic parameterType,
                      int index,
                      int offset)
        Creates a new latent parameter descriptions for a parameter without explicit meta data or annotations.
        Parameters:
        declaringMethod - The method declaring this parameter.
        parameterType - The type of the parameter.
        index - The index of the parameter.
        offset - The offset of the parameter.
      • Latent

        public Latent​(MethodDescription.InDefinedShape declaringMethod,
                      TypeDescription.Generic parameterType,
                      java.util.List<? extends AnnotationDescription> declaredAnnotations,
                      java.lang.String name,
                      java.lang.Integer modifiers,
                      int index,
                      int offset)
        Creates a latent parameter description. All provided types are attached to this instance before they are returned.
        Parameters:
        declaringMethod - The method that is declaring the parameter.
        parameterType - The parameter's type.
        declaredAnnotations - The annotations of the parameter.
        name - The name of the parameter or null if no name is explicitly defined.
        modifiers - The modifiers of the parameter or null if no modifiers are explicitly defined.
        index - The index of the parameter.
        offset - The parameter's offset in the local method variables array.