Package net.bytebuddy.description
Interface NamedElement.WithRuntimeName
-
- All Superinterfaces:
NamedElement
- All Known Subinterfaces:
ByteCodeElement
,ByteCodeElement.Member
,FieldDescription
,FieldDescription.InDefinedShape
,FieldDescription.InGenericShape
,InstrumentedType
,InstrumentedType.WithFlexibleName
,MethodDescription
,MethodDescription.InDefinedShape
,MethodDescription.InGenericShape
,NamedElement.WithGenericName
,PackageDescription
,ParameterDescription
,ParameterDescription.InDefinedShape
,ParameterDescription.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
,PackageDescription.AbstractBase
,PackageDescription.ForLoadedPackage
,PackageDescription.Simple
,ParameterDescription.AbstractBase
,ParameterDescription.ForLoadedParameter
,ParameterDescription.ForLoadedParameter.OfConstructor
,ParameterDescription.ForLoadedParameter.OfLegacyVmConstructor
,ParameterDescription.ForLoadedParameter.OfLegacyVmMethod
,ParameterDescription.ForLoadedParameter.OfMethod
,ParameterDescription.InDefinedShape.AbstractBase
,ParameterDescription.Latent
,ParameterDescription.TypeSubstituting
,Transformer.ForField.TransformedField
,Transformer.ForMethod.TransformedMethod
,Transformer.ForMethod.TransformedMethod.TransformedParameter
,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.LazyMethodDescription.LazyParameterDescription
,TypePool.Default.LazyTypeDescription.LazyPackageDescription
,TypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription
,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.WithRuntimeName extends NamedElement
A named element with a name that has a particular meaning to the Java runtime.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.description.NamedElement
NamedElement.WithDescriptor, NamedElement.WithGenericName, NamedElement.WithOptionalName, NamedElement.WithRuntimeName
-
-
Field Summary
-
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
getInternalName()
Returns the internal name of this byte code element.java.lang.String
getName()
Returns the binary name of this byte code element.-
Methods inherited from interface net.bytebuddy.description.NamedElement
getActualName
-
-
-
-
Method Detail
-
getName
java.lang.String getName()
Returns the binary name of this byte code element. If no well-defined internal name is known for this element, the actual name is returned.- Returns:
- The binary ame of this byte code element as visible from within a running Java application.
-
getInternalName
java.lang.String getInternalName()
Returns the internal name of this byte code element. If no well-defined internal name is known for this element, the actual name is returned.- Returns:
- The internal name of this byte code element as used within the Java class file format.
-
-