Package net.bytebuddy.description
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
,MethodDescription.AbstractBase
,MethodDescription.ForLoadedConstructor
,MethodDescription.ForLoadedMethod
,MethodDescription.InDefinedShape.AbstractBase
,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.ForLoadedType.ClassDescriptionTypeList.InternalNameLazyType
,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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.description.NamedElement
NamedElement.WithDescriptor, NamedElement.WithGenericName, NamedElement.WithOptionalName, NamedElement.WithRuntimeName
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NON_GENERIC_SIGNATURE
The generic type signature of a non-generic byte code element.-
Fields inherited from interface net.bytebuddy.description.NamedElement
EMPTY_NAME, NO_NAME
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getDescriptor()
Returns the descriptor of this byte code element.java.lang.String
getGenericSignature()
Returns the generic signature of this byte code element.-
Methods inherited from interface net.bytebuddy.description.NamedElement
getActualName
-
-
-
-
Method Detail
-
getDescriptor
java.lang.String getDescriptor()
Returns the descriptor of this byte code element.- Returns:
- The descriptor of this byte code element.
-
getGenericSignature
java.lang.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.
-
-