| Modifier and Type | Class and Description |
|---|---|
| protected static class | PrimitiveWideningDelegate.WideningStackManipulation
A stack manipulation that widens a primitive type into a more general primitive type. |
| Modifier and Type | Field and Description |
|---|---|
| public static final PrimitiveWideningDelegate | BOOLEAN
The widening delegate for |
| public static final PrimitiveWideningDelegate | BYTE
The widening delegate for |
| public static final PrimitiveWideningDelegate | CHARACTER
The widening delegate for |
| public static final PrimitiveWideningDelegate | DOUBLE
The widening delegate for |
| public static final PrimitiveWideningDelegate | FLOAT
The widening delegate for |
| public static final PrimitiveWideningDelegate | INTEGER
The widening delegate for |
| public static final PrimitiveWideningDelegate | LONG
The widening delegate for |
| public static final PrimitiveWideningDelegate | SHORT
The widening delegate for |
| private final StackManipulation | toBooleanStackManipulation
A stack manipulation that widens the type that is represented by this instance to a |
| private final StackManipulation | toByteStackManipulation
A stack manipulation that widens the type that is represented by this instance to a |
| private final StackManipulation | toCharacterStackManipulation
A stack manipulation that widens the type that is represented by this instance to a |
| private final StackManipulation | toDoubleStackManipulation
A stack manipulation that widens the type that is represented by this instance to a |
| private final StackManipulation | toFloatStackManipulation
A stack manipulation that widens the type that is represented by this instance to a |
| private final StackManipulation | toIntegerStackManipulation
A stack manipulation that widens the type that is represented by this instance to a |
| private final StackManipulation | toLongStackManipulation
A stack manipulation that widens the type that is represented by this instance to a |
| private final StackManipulation | toShortStackManipulation
A stack manipulation that widens the type that is represented by this instance to a |
| Access | Constructor and Description |
|---|---|
| private | PrimitiveWideningDelegate(StackManipulation
A stack manipulation that widens the type that is represented by this
instance to a toBooleanStackManipulation, StackManipulation boolean.A stack manipulation that widens the type that is represented by this
instance to a toByteStackManipulation, StackManipulation byte.A stack manipulation that widens the type that is represented by this
instance to a toShortStackManipulation, StackManipulation short.A stack manipulation that widens the type that is represented by this
instance to a toCharacterStackManipulation, StackManipulation char.A stack manipulation that widens the type that is represented by this
instance to a toIntegerStackManipulation, StackManipulation int.A stack manipulation that widens the type that is represented by this
instance to a toLongStackManipulation, StackManipulation long.A stack manipulation that widens the type that is represented by this
instance to a toFloatStackManipulation, StackManipulation float.A stack manipulation that widens the type that is represented by this
instance to a toDoubleStackManipulation)double.Creates a new primitive widening delegate. |
| Modifier and Type | Method and Description |
|---|---|
| public static PrimitiveWideningDelegate | Returns: A delegate for the given type.A non-void primitive type that is to be widened into another type. typeDefinition)Locates the delegate that is capable of widening the given type into another type. |
| public static PrimitiveWideningDelegate | |
| public static PrimitiveWideningDelegate[] | |
| public StackManipulation | Returns: A widening instruction or an illegal stack manipulation if such widening is not legitimate.A non-void primitive type that is the expected result of the widening operation. typeDefinition)Attempts to widen the represented type into another type. |
| BOOLEAN | back to summary |
|---|---|
| public static final PrimitiveWideningDelegate BOOLEAN The widening delegate for | |
| BYTE | back to summary |
|---|---|
| public static final PrimitiveWideningDelegate BYTE The widening delegate for | |
| CHARACTER | back to summary |
|---|---|
| public static final PrimitiveWideningDelegate CHARACTER The widening delegate for | |
| DOUBLE | back to summary |
|---|---|
| public static final PrimitiveWideningDelegate DOUBLE The widening delegate for | |
| FLOAT | back to summary |
|---|---|
| public static final PrimitiveWideningDelegate FLOAT The widening delegate for | |
| INTEGER | back to summary |
|---|---|
| public static final PrimitiveWideningDelegate INTEGER The widening delegate for | |
| LONG | back to summary |
|---|---|
| public static final PrimitiveWideningDelegate LONG The widening delegate for | |
| SHORT | back to summary |
|---|---|
| public static final PrimitiveWideningDelegate SHORT The widening delegate for | |
| toBooleanStackManipulation | back to summary |
|---|---|
| private final StackManipulation toBooleanStackManipulation A stack manipulation that widens the type that is represented by this instance to a | |
| toByteStackManipulation | back to summary |
|---|---|
| private final StackManipulation toByteStackManipulation A stack manipulation that widens the type that is represented by this instance to a | |
| toCharacterStackManipulation | back to summary |
|---|---|
| private final StackManipulation toCharacterStackManipulation A stack manipulation that widens the type that is represented by this instance to a | |
| toDoubleStackManipulation | back to summary |
|---|---|
| private final StackManipulation toDoubleStackManipulation A stack manipulation that widens the type that is represented by this instance to a | |
| toFloatStackManipulation | back to summary |
|---|---|
| private final StackManipulation toFloatStackManipulation A stack manipulation that widens the type that is represented by this instance to a | |
| toIntegerStackManipulation | back to summary |
|---|---|
| private final StackManipulation toIntegerStackManipulation A stack manipulation that widens the type that is represented by this instance to a | |
| toLongStackManipulation | back to summary |
|---|---|
| private final StackManipulation toLongStackManipulation A stack manipulation that widens the type that is represented by this instance to a | |
| toShortStackManipulation | back to summary |
|---|---|
| private final StackManipulation toShortStackManipulation A stack manipulation that widens the type that is represented by this instance to a | |
| PrimitiveWideningDelegate | back to summary |
|---|---|
| private PrimitiveWideningDelegate(StackManipulation toBooleanStackManipulation, StackManipulation toByteStackManipulation, StackManipulation toShortStackManipulation, StackManipulation toCharacterStackManipulation, StackManipulation toIntegerStackManipulation, StackManipulation toLongStackManipulation, StackManipulation toFloatStackManipulation, StackManipulation toDoubleStackManipulation) Creates a new primitive widening delegate.
| |
| forPrimitive | back to summary |
|---|---|
| public static PrimitiveWideningDelegate forPrimitive(TypeDefinition typeDefinition) Locates the delegate that is capable of widening the given type into another type.
| |
| valueOf | back to summary |
|---|---|
| public static PrimitiveWideningDelegate valueOf(String name) | |
| values | back to summary |
|---|---|
| public static PrimitiveWideningDelegate[] values() | |
| widenTo | back to summary |
|---|---|
| public StackManipulation widenTo(TypeDefinition typeDefinition) Attempts to widen the represented type into another type.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final int | conversionOpcode
The opcode for executing the conversion. |
| private final StackManipulation. | size
The size change of applying the conversion. |
| Access | Constructor and Description |
|---|---|
| protected | WideningStackManipulation(int
The opcode for executing the conversion. conversionOpcode, StackManipulation.The size change of applying the conversion. sizeCreates a new widening stack manipulation. |
| Modifier and Type | Method and Description |
|---|---|
| public StackManipulation. | apply(MethodVisitor
The method visitor used to write the method implementation to. methodVisitor, Implementation.The context of the current implementation. implementationContextImplements net. |
| conversionOpcode | back to summary |
|---|---|
| private final int conversionOpcode The opcode for executing the conversion. | |
| size | back to summary |
|---|---|
| private final StackManipulation. The size change of applying the conversion. | |
| WideningStackManipulation | back to summary |
|---|---|
| protected WideningStackManipulation(int conversionOpcode, StackManipulation. Creates a new widening stack manipulation.
| |
| apply | back to summary |
|---|---|
| public StackManipulation. Implements net. Doc from net. Applies the stack manipulation that is described by this instance.
| |