Class TypePool.Default.LazyTypeDescription.MethodToken.ParameterToken

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.Integer modifiers
      The modifiers of the parameter or null if no modifiers are known for this parameter.
      private java.lang.String name
      The name of the parameter or null if no explicit name for this parameter is known.
      protected static java.lang.Integer NO_MODIFIERS
      Donates an unknown modifier of a parameter.
      protected static java.lang.String NO_NAME
      Donates an unknown name of a parameter.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ParameterToken()
      Creates a parameter token for a parameter without an explicit name and without specific modifiers.
      protected ParameterToken​(java.lang.String name)
      Creates a parameter token for a parameter with an explicit name and without specific modifiers.
      protected ParameterToken​(java.lang.String name, java.lang.Integer modifiers)
      Creates a parameter token for a parameter with an explicit name and with specific modifiers.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Integer getModifiers()
      Returns the modifiers of the parameter or null if no modifiers are known.
      protected java.lang.String getName()
      Returns the name of the parameter or null if there is no such name.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • NO_NAME

        protected static final java.lang.String NO_NAME
        Donates an unknown name of a parameter.
      • NO_MODIFIERS

        protected static final java.lang.Integer NO_MODIFIERS
        Donates an unknown modifier of a parameter.
      • modifiers

        @ValueHandling(REVERSE_NULLABILITY)
        private final java.lang.Integer modifiers
        The modifiers of the parameter or null if no modifiers are known for this parameter.
    • Constructor Detail

      • ParameterToken

        protected ParameterToken()
        Creates a parameter token for a parameter without an explicit name and without specific modifiers.
      • ParameterToken

        protected ParameterToken​(java.lang.String name)
        Creates a parameter token for a parameter with an explicit name and without specific modifiers.
        Parameters:
        name - The name of the parameter.
      • ParameterToken

        protected ParameterToken​(java.lang.String name,
                                 java.lang.Integer modifiers)
        Creates a parameter token for a parameter with an explicit name and with specific modifiers.
        Parameters:
        name - The name of the parameter.
        modifiers - The modifiers of the parameter.
    • Method Detail

      • getName

        protected java.lang.String getName()
        Returns the name of the parameter or null if there is no such name.
        Returns:
        The name of the parameter or null if there is no such name.
      • getModifiers

        protected java.lang.Integer getModifiers()
        Returns the modifiers of the parameter or null if no modifiers are known.
        Returns:
        The modifiers of the parameter or null if no modifiers are known.