Package net.bytebuddy.description
Interface DeclaredByType.WithMandatoryDeclaration
- All Superinterfaces:
DeclaredByType
- All Known Subinterfaces:
FieldDescription
,FieldDescription.InDefinedShape
,FieldDescription.InGenericShape
,MethodDescription
,MethodDescription.InDefinedShape
,MethodDescription.InGenericShape
,RecordComponentDescription
,RecordComponentDescription.InDefinedShape
,RecordComponentDescription.InGenericShape
- 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
,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
,TypePool.Default.LazyTypeDescription.LazyFieldDescription
,TypePool.Default.LazyTypeDescription.LazyMethodDescription
,TypePool.Default.LazyTypeDescription.LazyRecordComponentDescription
,TypeWriter.MethodPool.Record.AccessBridgeWrapper.AccessorBridge
,TypeWriter.MethodPool.Record.AccessBridgeWrapper.BridgeTarget
,TypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge.VisibilityBridge
- Enclosing interface:
- DeclaredByType
Indicates that this element must always be declared by a type.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.bytebuddy.description.DeclaredByType
DeclaredByType.WithMandatoryDeclaration
-
Method Summary
Modifier and TypeMethodDescriptionReturns the declaring type of this instance.
-
Method Details
-
getDeclaringType
Returns the declaring type of this instance.- Specified by:
getDeclaringType
in interfaceDeclaredByType
- Returns:
- The declaring type or
null
if no such type exists.
-