@HashCodeAndEqualsPlugin.Enhance(includeSyntheticFields=true) protected class DynamicType.Builder.AbstractBase.Adapter.InnerTypeDefinitionForMethodAdapter extends DynamicType.Builder.AbstractBase.Delegator<U> implements DynamicType.Builder.InnerTypeDefinition<U>
DynamicType.Builder.AbstractBase.Adapter<U>, DynamicType.Builder.AbstractBase.Delegator<U>
DynamicType.Builder.InnerTypeDefinition.ForType<U>
DynamicType.Builder.AbstractBase<S>, DynamicType.Builder.FieldDefinition<S>, DynamicType.Builder.InnerTypeDefinition<S>, DynamicType.Builder.MethodDefinition<S>, DynamicType.Builder.TypeVariableDefinition<S>
Modifier and Type | Field and Description |
---|---|
private MethodDescription.InDefinedShape |
methodDescription
A description of the declaring method or constructor.
|
Modifier | Constructor and Description |
---|---|
protected |
InnerTypeDefinitionForMethodAdapter(MethodDescription.InDefinedShape methodDescription)
Creates a new adapter for defining a type that is declared within a method or constructor.
|
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder<U> |
asAnonymousType()
Defines this inner type declaration as an anonymous type.
|
protected DynamicType.Builder<U> |
materialize()
Creates a new builder that realizes the current state of the builder.
|
annotateType, attribute, declaredTypes, defineConstructor, defineField, defineMethod, field, ignoreAlso, ignoreAlso, implement, initializer, initializer, innerTypeOf, innerTypeOf, invokable, make, make, make, make, merge, modifiers, name, nestHost, nestMembers, require, suffix, topLevelType, transform, typeVariable, visit
annotateType, annotateType, annotateType, constructor, declaredTypes, declaredTypes, declaredTypes, define, define, define, define, define, defineConstructor, defineConstructor, defineField, defineField, defineField, defineField, defineField, defineMethod, defineMethod, defineMethod, defineMethod, defineMethod, defineProperty, defineProperty, defineProperty, defineProperty, field, implement, implement, implement, innerTypeOf, innerTypeOf, innerTypeOf, invokable, merge, method, modifiers, modifiers, nestHost, nestMembers, nestMembers, nestMembers, noNestMate, require, require, require, serialVersionUid, typeVariable, typeVariable, typeVariable, typeVariable, withHashCodeEquals, withToString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
annotateType, annotateType, annotateType, annotateType, attribute, constructor, declaredTypes, declaredTypes, declaredTypes, declaredTypes, define, define, define, define, define, defineConstructor, defineConstructor, defineConstructor, defineField, defineField, defineField, defineField, defineField, defineField, defineMethod, defineMethod, defineMethod, defineMethod, defineMethod, defineMethod, defineProperty, defineProperty, defineProperty, defineProperty, 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, require, require, require, require, serialVersionUid, suffix, topLevelType, transform, typeVariable, typeVariable, typeVariable, typeVariable, typeVariable, visit, withHashCodeEquals, withToString
private final MethodDescription.InDefinedShape methodDescription
protected InnerTypeDefinitionForMethodAdapter(MethodDescription.InDefinedShape methodDescription)
methodDescription
- A description of the declaring method or constructor.public DynamicType.Builder<U> asAnonymousType()
asAnonymousType
in interface DynamicType.Builder.InnerTypeDefinition<U>
protected DynamicType.Builder<U> materialize()
DynamicType.Builder.AbstractBase.Delegator
materialize
in class DynamicType.Builder.AbstractBase.Delegator<U>