Interface PrimitiveArrayConstantElementVisitor
-
- All Known Implementing Classes:
PrimitiveArrayConstantReplacer
public interface PrimitiveArrayConstantElementVisitor
This interface specifies the methods for a visitor of primitive elements of the array of aPrimitiveArrayConstant
.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
visitAnyPrimitiveArrayConstantElement(Clazz clazz, PrimitiveArrayConstant primitiveArrayConstant, int index)
Visits any PrimitiveArrayConstant instance.default void
visitBooleanArrayConstantElement(Clazz clazz, PrimitiveArrayConstant primitiveArrayConstant, int index, boolean value)
default void
visitByteArrayConstantElement(Clazz clazz, PrimitiveArrayConstant primitiveArrayConstant, int index, byte value)
default void
visitCharArrayConstantElement(Clazz clazz, PrimitiveArrayConstant primitiveArrayConstant, int index, char value)
default void
visitDoubleArrayConstantElement(Clazz clazz, PrimitiveArrayConstant primitiveArrayConstant, int index, double value)
default void
visitFloatArrayConstantElement(Clazz clazz, PrimitiveArrayConstant primitiveArrayConstant, int index, float value)
default void
visitIntArrayConstantElement(Clazz clazz, PrimitiveArrayConstant primitiveArrayConstant, int index, int value)
default void
visitLongArrayConstantElement(Clazz clazz, PrimitiveArrayConstant primitiveArrayConstant, int index, long value)
default void
visitShortArrayConstantElement(Clazz clazz, PrimitiveArrayConstant primitiveArrayConstant, int index, short value)
-
-
-
Method Detail
-
visitAnyPrimitiveArrayConstantElement
default void visitAnyPrimitiveArrayConstantElement(Clazz clazz, PrimitiveArrayConstant primitiveArrayConstant, int index)
Visits any PrimitiveArrayConstant instance. The more specific default implementations of this interface delegate to this method.
-
visitBooleanArrayConstantElement
default void visitBooleanArrayConstantElement(Clazz clazz, PrimitiveArrayConstant primitiveArrayConstant, int index, boolean value)
-
visitByteArrayConstantElement
default void visitByteArrayConstantElement(Clazz clazz, PrimitiveArrayConstant primitiveArrayConstant, int index, byte value)
-
visitCharArrayConstantElement
default void visitCharArrayConstantElement(Clazz clazz, PrimitiveArrayConstant primitiveArrayConstant, int index, char value)
-
visitShortArrayConstantElement
default void visitShortArrayConstantElement(Clazz clazz, PrimitiveArrayConstant primitiveArrayConstant, int index, short value)
-
visitIntArrayConstantElement
default void visitIntArrayConstantElement(Clazz clazz, PrimitiveArrayConstant primitiveArrayConstant, int index, int value)
-
visitFloatArrayConstantElement
default void visitFloatArrayConstantElement(Clazz clazz, PrimitiveArrayConstant primitiveArrayConstant, int index, float value)
-
visitLongArrayConstantElement
default void visitLongArrayConstantElement(Clazz clazz, PrimitiveArrayConstant primitiveArrayConstant, int index, long value)
-
visitDoubleArrayConstantElement
default void visitDoubleArrayConstantElement(Clazz clazz, PrimitiveArrayConstant primitiveArrayConstant, int index, double value)
-
-