Interface ParameterList<T extends ParameterDescription>

Type Parameters:
T - The type of parameter descriptions represented by this list.
All Superinterfaces:
Collection<T>, FilterableList<T,ParameterList<T>>, Iterable<T>, List<T>, SequencedCollection<T>
All Known Implementing Classes:
ParameterList.AbstractBase, ParameterList.Empty, ParameterList.Explicit, ParameterList.Explicit.ForTypes, ParameterList.ForLoadedExecutable, ParameterList.ForLoadedExecutable.OfConstructor, ParameterList.ForLoadedExecutable.OfLegacyVmConstructor, ParameterList.ForLoadedExecutable.OfLegacyVmMethod, ParameterList.ForLoadedExecutable.OfMethod, ParameterList.ForTokens, ParameterList.TypeSubstituting, Transformer.ForMethod.TransformedMethod.TransformedParameterList, TypePool.Default.LazyTypeDescription.LazyMethodDescription.LazyParameterList

public interface ParameterList<T extends ParameterDescription> extends FilterableList<T,ParameterList<T>>
Represents a list of parameters of a method or a constructor.
  • Method Details

    • asTypeList

      TypeList.Generic asTypeList()
      Transforms this list of parameters into a list of the types of the represented parameters.
      Returns:
      A list of types representing the parameters of this list.
    • asTokenList

      Transforms the list of parameter descriptions into a list of detached tokens. All types that are matched by the provided target type matcher are substituted by TargetType.
      Parameters:
      matcher - A matcher that indicates type substitution.
      Returns:
      The transformed token list.
    • asDefined

      Returns this list of these parameter descriptions resolved to their defined shape.
      Returns:
      A list of parameters in their defined shape.
    • hasExplicitMetaData

      boolean hasExplicitMetaData()
      Checks if all parameters in this list define both an explicit name and an explicit modifier.
      Returns:
      true if all parameters in this list define both an explicit name and an explicit modifier.