Interface NamedElement.WithOptionalName

All Superinterfaces:
NamedElement
All Known Subinterfaces:
ParameterDescription, ParameterDescription.InDefinedShape, ParameterDescription.InGenericShape
All Known Implementing Classes:
JavaModule, ParameterDescription.AbstractBase, ParameterDescription.ForLoadedParameter, ParameterDescription.ForLoadedParameter.OfConstructor, ParameterDescription.ForLoadedParameter.OfLegacyVmConstructor, ParameterDescription.ForLoadedParameter.OfLegacyVmMethod, ParameterDescription.ForLoadedParameter.OfMethod, ParameterDescription.InDefinedShape.AbstractBase, ParameterDescription.Latent, ParameterDescription.TypeSubstituting, Transformer.ForMethod.TransformedMethod.TransformedParameter, TypePool.Default.LazyTypeDescription.LazyMethodDescription.LazyParameterDescription
Enclosing interface:
NamedElement

public static interface NamedElement.WithOptionalName extends NamedElement
Describes a named element where naming the element is optional and an alternative default name is provided if no explicit name is given.
  • Method Details

    • isNamed

      boolean isNamed()
      Returns true if this element has an explicit name.
      Returns:
      true if this element has an explicit name.