Package net.bytebuddy.dynamic
Interface DynamicType.Builder.InnerTypeDefinition<S>
- Type Parameters:
S
- A loaded type that the built type is guaranteed to be a subclass of.
- All Superinterfaces:
DynamicType.Builder<S>
- All Known Subinterfaces:
DynamicType.Builder.InnerTypeDefinition.ForType<U>
- All Known Implementing Classes:
DynamicType.Builder.AbstractBase.Adapter.InnerTypeDefinitionForMethodAdapter
,DynamicType.Builder.AbstractBase.Adapter.InnerTypeDefinitionForTypeAdapter
- Enclosing interface:
DynamicType.Builder<T>
An inner type definition for defining a type that is contained within another type, method or constructor.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
An inner type definition for defining a type that is contained within another type.Nested classes/interfaces inherited from interface net.bytebuddy.dynamic.DynamicType.Builder
DynamicType.Builder.AbstractBase<S>, DynamicType.Builder.FieldDefinition<S>, DynamicType.Builder.InnerTypeDefinition<S>, DynamicType.Builder.MethodDefinition<S>, DynamicType.Builder.RecordComponentDefinition<S>, DynamicType.Builder.TypeVariableDefinition<S>
-
Method Summary
Modifier and TypeMethodDescriptionDefines this inner type declaration as an anonymous type.Methods inherited from interface net.bytebuddy.dynamic.DynamicType.Builder
annotateType, annotateType, annotateType, annotateType, attribute, constructor, declaredTypes, declaredTypes, declaredTypes, declaredTypes, define, define, define, define, define, define, defineConstructor, defineConstructor, defineConstructor, defineField, defineField, defineField, defineField, defineField, defineField, defineMethod, defineMethod, defineMethod, defineMethod, defineMethod, defineMethod, defineProperty, defineProperty, defineProperty, defineProperty, defineRecordComponent, defineRecordComponent, field, field, ignoreAlso, ignoreAlso, implement, implement, implement, implement, initializer, initializer, innerTypeOf, innerTypeOf, innerTypeOf, innerTypeOf, innerTypeOf, invokable, invokable, make, make, make, make, merge, merge, method, modifiers, modifiers, modifiers, name, nestHost, nestHost, nestMembers, nestMembers, nestMembers, nestMembers, noNestMate, permittedSubclass, permittedSubclass, permittedSubclass, permittedSubclass, recordComponent, recordComponent, require, require, require, require, serialVersionUid, suffix, topLevelType, toTypeDescription, transform, typeVariable, typeVariable, typeVariable, typeVariable, typeVariable, unsealed, visit, withHashCodeEquals, withToString, wrap, wrap, wrap, wrap
-
Method Details
-
asAnonymousType
DynamicType.Builder<S> asAnonymousType()Defines this inner type declaration as an anonymous type.- Returns:
- A new builder that is equal to this type builder but that defines the previous inner type definition as a anonymous type.
-