Class SetterValueProjection
- java.lang.Object
-
- com.github.skjolber.stcsv.databinder.projection.SetterValueProjection
-
- All Implemented Interfaces:
ValueProjection
- Direct Known Subclasses:
ObjectSetterValueProjection,PrimitiveSetterValueProjection
public abstract class SetterValueProjection extends Object implements ValueProjection
-
-
Field Summary
Fields Modifier and Type Field Description protected static intcurrentArrayIndexprotected static intcurrentOffsetIndexprotected static intintermediateIndexprotected StringmappedClassInternalNameprotected static intobjectIndexprotected static intrangeIndexprotected StringsetterNameprotected static intstartIndex
-
Constructor Summary
Constructors Constructor Description SetterValueProjection(String setterName, String mappedClassInternalName)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static SetterValueProjectionnewInstance(Class<?> setterClass, String setterName, String mappedClassInternalName)abstract voidwrite(org.objectweb.asm.MethodVisitor mv, String subClassInternalName, int endIndex)
-
-
-
Field Detail
-
currentOffsetIndex
protected static final int currentOffsetIndex
- See Also:
- Constant Field Values
-
currentArrayIndex
protected static final int currentArrayIndex
- See Also:
- Constant Field Values
-
objectIndex
protected static final int objectIndex
- See Also:
- Constant Field Values
-
startIndex
protected static final int startIndex
- See Also:
- Constant Field Values
-
rangeIndex
protected static final int rangeIndex
- See Also:
- Constant Field Values
-
intermediateIndex
protected static final int intermediateIndex
- See Also:
- Constant Field Values
-
setterName
protected final String setterName
-
mappedClassInternalName
protected final String mappedClassInternalName
-
-
Method Detail
-
newInstance
public static SetterValueProjection newInstance(Class<?> setterClass, String setterName, String mappedClassInternalName)
-
write
public abstract void write(org.objectweb.asm.MethodVisitor mv, String subClassInternalName, int endIndex)- Specified by:
writein interfaceValueProjection
-
-