Interface NamedElement.WithDescriptor

All Superinterfaces:
NamedElement
All Known Subinterfaces:
ByteCodeElement, FieldDescription, FieldDescription.InDefinedShape, FieldDescription.InGenericShape, InstrumentedType, InstrumentedType.WithFlexibleName, MethodDescription, MethodDescription.InDefinedShape, MethodDescription.InGenericShape, RecordComponentDescription, RecordComponentDescription.InDefinedShape, RecordComponentDescription.InGenericShape, TypeDescription
All Known Implementing Classes:
FieldDescription.AbstractBase, FieldDescription.ForLoadedField, FieldDescription.InDefinedShape.AbstractBase, FieldDescription.Latent, FieldDescription.TypeSubstituting, Implementation.Context.Default.AbstractPropertyAccessorMethod, Implementation.Context.Default.AccessorMethod, Implementation.Context.Default.CacheValueField, Implementation.Context.Default.FieldGetter, Implementation.Context.Default.FieldSetter, InstrumentedType.Default, InstrumentedType.Frozen, JavaType.LatentTypeWithSimpleName, MethodDescription.AbstractBase, MethodDescription.ForLoadedConstructor, MethodDescription.ForLoadedMethod, MethodDescription.InDefinedShape.AbstractBase, MethodDescription.InDefinedShape.AbstractBase.ForLoadedExecutable, MethodDescription.Latent, MethodDescription.Latent.TypeInitializer, MethodDescription.TypeSubstituting, MethodRebaseResolver.Resolution.ForRebasedConstructor.RebasedConstructor, MethodRebaseResolver.Resolution.ForRebasedMethod.RebasedMethod, RecordComponentDescription.AbstractBase, RecordComponentDescription.ForLoadedRecordComponent, RecordComponentDescription.InDefinedShape.AbstractBase, RecordComponentDescription.Latent, RecordComponentDescription.TypeSubstituting, Transformer.ForField.TransformedField, Transformer.ForMethod.TransformedMethod, TypeDescription.AbstractBase, TypeDescription.AbstractBase.OfSimpleType, TypeDescription.AbstractBase.OfSimpleType.WithDelegation, TypeDescription.ArrayProjection, TypeDescription.ForLoadedType, TypeDescription.ForPackageDescription, TypeDescription.Latent, TypeDescription.SuperTypeLoading, TypePool.Default.LazyTypeDescription, TypePool.Default.LazyTypeDescription.LazyFieldDescription, TypePool.Default.LazyTypeDescription.LazyMethodDescription, TypePool.Default.LazyTypeDescription.LazyRecordComponentDescription, TypePool.Default.WithLazyResolution.LazyTypeDescription, TypePool.LazyFacade.LazyTypeDescription, TypeWriter.MethodPool.Record.AccessBridgeWrapper.AccessorBridge, TypeWriter.MethodPool.Record.AccessBridgeWrapper.BridgeTarget, TypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge.VisibilityBridge
Enclosing interface:
NamedElement

public static interface NamedElement.WithDescriptor extends NamedElement
A named element with a class file descriptor and a generic signature.
  • Field Details

    • NON_GENERIC_SIGNATURE

      @AlwaysNull static final String NON_GENERIC_SIGNATURE
      The generic type signature of a non-generic byte code element.
  • Method Details

    • getDescriptor

      String getDescriptor()
      Returns the descriptor of this byte code element.
      Returns:
      The descriptor of this byte code element.
    • getGenericSignature

      @MaybeNull String getGenericSignature()
      Returns the generic signature of this byte code element. If this element does not reference generic types or references malformed generic types, null is returned as a signature.
      Returns:
      The generic signature or null if this element is not generic.