| Modifier and Type | Class and Description |
|---|---|
| public static class | InstrumentedType.Default
A default implementation of an instrumented type. |
| public static interface | InstrumentedType.Factory
A factory for creating an |
| public static class | InstrumentedType.Frozen
A frozen representation of an instrumented type of which the structure must not be modified. |
| public static interface | InstrumentedType.Prepareable
Implementations are able to prepare an |
| public static interface | InstrumentedType.WithFlexibleName
Implementations represent an |
| Modifier and Type | Method and Description |
|---|---|
| public LoadedTypeInitializer | Returns: The registered loaded type initializers for this instrumented type.Returns the |
| public TypeInitializer | Returns: This instrumented type's type initializer.Returns this instrumented type's type initializer. |
| public TypeDescription | Returns: This instrumented type as a non-modifiable type description.Validates the instrumented type to define a legal Java type. |
| public InstrumentedType | Returns: A new instrumented type that is equal to this instrumented type but annotated with the given annotationsThe annotations to add to the instrumented type. annotationDescriptions)Creates a new instrumented type with the given annotations. |
| public InstrumentedType | Returns: A new instrumented type that is treated as an anonymous class.true if the instrumented type is supposed to be treated as an anonymous class.Creates a new instrumented type that indicates that it is defined as an anonymous class. |
| public InstrumentedType | Returns: A new instrumented type that is equal to this instrumented type but with the additional field.A token that represents the field's shape. token,The value that this assigned to this field. value)Creates a new instrumented type that includes a new field. |
| public InstrumentedType | Returns: A new instrumented type that indicates that it has declared the supplied types.The types to add to the created instrumented type as declared types. declaredTypes)Creates a new instrumented type that indicates that it declared the supplied types. |
| public InstrumentedType | Returns: A new instrumented type that is declared by the instrumented type.The type that declares the instrumented type or declaringType)null if no such type exists.Creates a new instrumented type that is declared by the supplied type. |
| public InstrumentedType | Returns: A new instrumented type with the supplied method as its enclosing method.The method to define as the created instrumented type's enclosing method. enclosingMethodCreates a new instrumented type with the supplied enclosing method. |
| public InstrumentedType | Returns: A new instrumented type with the supplied type as its enclosing type.The type to define as the created instrumented type's enclosing type. enclosingType)Creates a new instrumented type with the supplied enclosing type. |
| public InstrumentedType | Returns: A new instrumented type that is equal to this instrumented type but with the additional field.A token that represents the field's shape. tokenCreates a new instrumented type that includes a new field. |
| public InstrumentedType | Returns: A new instrumented type that is equal to this instrumented type but with the additional type initializer.The type initializer to include. loadedTypeInitializer)Creates a new instrumented type that includes the given |
| public InstrumentedType | Returns: A new instrumented type that is equal to this instrumented type but with the given stack manipulation attached to its type initializer.The byte code to add to the type initializer. byteCodeAppender)Creates a new instrumented type that executes the given initializer in the instrumented type's type initializer. |
| public InstrumentedType | Returns: A new instrumented type that is equal to this instrumented type but with the given interfaces implemented.The interface types to implement. interfaceTypesCreates a new instrumented type with the given interfaces implemented. |
| public InstrumentedType | Returns: A new instrumented type that is treated as a local class.true if the instrumented type is supposed to be treated as a local class.Creates a new instrumented type that indicates that is defined as a local class. |
| public InstrumentedType | Returns: A new instrumented type that is equal to this instrumented type but with the additional method.A token that represents the method's shape. tokenCreates a new instrumented type that includes a new method or constructor. |
| public InstrumentedType | Returns: A new instrumented type that is equal to this instrumented type but with the given modifiers.The instrumented type's modifiers. modifiers)Creates a new instrumented type with changed modifiers. |
| public InstrumentedType | Returns: A new instrumented type with the supplied type as its nest host.The nest host of the created instrumented type. nestHost)Creates a new instrumented type with the supplied nest host. |
| public InstrumentedType | Returns: A new instrumented type that applies the supplied nest members.The nest members to add to the created instrumented type. nestMembers)Creates a new instrumented types with the supplied nest members added to this instrumented type. |
| public InstrumentedType | Returns: A new instrumented type that includes the supplied permitted subclasses or unseals the type.A list of permitted subclasses to include or permittedSubclasses)null to unseal the type.Creates a new instrumented type that includes the supplied permitted subclasses or unseals the type. |
| public InstrumentedType | Returns: A new instrumented type that is defined as a record.true if the instrumented type is supposed to be a record.Creates a new instrumented type that indicates that it defined as a record type. |
| public InstrumentedType | Returns: A new instrumented type that is equal to this instrumented type but with the additional record component.A token that represents the record component's shape. tokenCreates a new instrumented type that includes a new record component. |
| public InstrumentedType | Returns: A new instrumented type that is equal to this instrumented type but with the given type variable declared.The type variable to declare. typeVariable)Creates a new instrumented type with the given type variable defined. |