Uses of Class
javassist.CtField.Initializer
-
Uses of CtField.Initializer in javassist
Modifier and TypeMethodDescriptionstatic CtField.Initializer
Makes an initializer calling a static method.static CtField.Initializer
Makes an initializer calling a static method.static CtField.Initializer
CtField.Initializer.byCallWithParams
(CtClass methodClass, String methodName) Makes an initializer calling a static method.static CtField.Initializer
CtField.Initializer.byCallWithParams
(CtClass methodClass, String methodName, String[] stringParams) Makes an initializer calling a static method.static CtField.Initializer
Makes an initializer.static CtField.Initializer
Makes an initializer creating a new object.static CtField.Initializer
Makes an initializer creating a new object.static CtField.Initializer
CtField.Initializer.byNewArray
(CtClass type, int size) Makes an initializer creating a new array.static CtField.Initializer
CtField.Initializer.byNewArray
(CtClass type, int[] sizes) Makes an initializer creating a new multi-dimensional array.static CtField.Initializer
CtField.Initializer.byNewWithParams
(CtClass objectType) Makes an initializer creating a new object.static CtField.Initializer
CtField.Initializer.byNewWithParams
(CtClass objectType, String[] stringParams) Makes an initializer creating a new object.static CtField.Initializer
CtField.Initializer.byParameter
(int nth) Makes an initializer using a constructor parameter.static CtField.Initializer
CtField.Initializer.constant
(boolean b) Makes an initializer that assigns a constant boolean value.static CtField.Initializer
CtField.Initializer.constant
(double d) Makes an initializer that assigns a constant double value.static CtField.Initializer
CtField.Initializer.constant
(float l) Makes an initializer that assigns a constant float value.static CtField.Initializer
CtField.Initializer.constant
(int i) Makes an initializer that assigns a constant integer value.static CtField.Initializer
CtField.Initializer.constant
(long l) Makes an initializer that assigns a constant long value.static CtField.Initializer
Makes an initializer that assigns a constant string value.Modifier and TypeMethodDescriptionvoid
CtClass.addField
(CtField f, CtField.Initializer init) Adds a field with an initial value.