V
- A loaded type that the built type is guaranteed to be a subclass of.public abstract static class DynamicType.Builder.MethodDefinition.TypeVariableDefinition.AbstractBase<V> extends DynamicType.Builder.MethodDefinition.ImplementationDefinition.AbstractBase<V> implements DynamicType.Builder.MethodDefinition.TypeVariableDefinition<V>
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.AbstractBase<V>, DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<V>
DynamicType.Builder.MethodDefinition.ImplementationDefinition.Optional<V>
Constructor and Description |
---|
AbstractBase() |
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<V> |
typeVariable(String symbol)
Defines a method variable to be declared by the currently defined method.
|
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<V> |
typeVariable(String symbol,
List<? extends Type> bounds)
Defines a method variable to be declared by the currently defined method.
|
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<V> |
typeVariable(String symbol,
Type... bound)
Defines a method variable to be declared by the currently defined method.
|
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<V> |
typeVariable(String symbol,
TypeDefinition... bound)
Defines a method variable to be declared by the currently defined method.
|
defaultValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
typeVariable
defaultValue, defaultValue, intercept, withoutCode
public DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<V> typeVariable(String symbol)
typeVariable
in interface DynamicType.Builder.MethodDefinition.TypeVariableDefinition<V>
symbol
- The symbol of the type variable.public DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<V> typeVariable(String symbol, Type... bound)
typeVariable
in interface DynamicType.Builder.MethodDefinition.TypeVariableDefinition<V>
symbol
- The symbol of the type variable.bound
- The bounds of the type variables. Can also be TargetType
for any type
if a bound type should be equal to the currently instrumented type.public DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<V> typeVariable(String symbol, List<? extends Type> bounds)
typeVariable
in interface DynamicType.Builder.MethodDefinition.TypeVariableDefinition<V>
symbol
- The symbol of the type variable.bounds
- The bounds of the type variables. Can also be TargetType
for any type
if a bound type should be equal to the currently instrumented type.public DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<V> typeVariable(String symbol, TypeDefinition... bound)
typeVariable
in interface DynamicType.Builder.MethodDefinition.TypeVariableDefinition<V>
symbol
- The symbol of the type variable.bound
- The bounds of the type variables. Can also be TargetType
for any type
if a bound type should be equal to the currently instrumented type.Copyright © 2014–2025. All rights reserved.