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>

public static interface DynamicType.Builder.InnerTypeDefinition<S> extends DynamicType.Builder<S>
An inner type definition for defining a type that is contained within another type, method or constructor.
  • 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.