Class Constants
- java.lang.Object
-
- ch.usi.si.codelounge.jsicko.plugin.Constants
-
public final class Constants extends Object
Holds some constants needed for code generation.
-
-
Field Summary
Fields Modifier and Type Field Description static StringINSTANCE_OLD_METHOD_IDENTIFIER_STRINGThe name of the method called to retrieve old values in instance method calls.static StringKRYO_CLONE_METHOD_QUALIFIED_IDENTIFIERThe name of the method called to clone objects with Kryo.static StringOLD_FIELD_IDENTIFIER_STRINGThe name of the synthetic instance field used to store the old values table for instance method calls.static StringRAISES_CLAUSE_PARAMETER_IDENTIFIER_STRINGA special identifier to be used in clause methods to refer to the exception value raised/thrown by a method.static StringRAISES_SYNTHETIC_IDENTIFIER_STRINGThe synthetic local variable for the variable holding the raised exception value in an instrumented method.static StringRETURNS_CLAUSE_PARAMETER_IDENTIFIER_STRINGA special identifier to be used in clause methods to refer to the value returned by a method.static StringRETURNS_SYNTHETIC_IDENTIFIER_STRINGThe synthetic local variable for the variable holding the return value in an instrumented method.static StringSTATIC_OLD_FIELD_IDENTIFIER_STRINGThe name of the synthetic static field used to store the old values table for static method calls.static StringSTATIC_OLD_METHOD_IDENTIFIER_STRINGThe name of the method called to retrieve old values in static method calls.static StringTHROWN_SYNTHETIC_IDENTIFIER_STRINGThe synthetic variable for the captured exception in the try-catch-finally block that implements the semantics of contract checking.
-
-
-
Field Detail
-
RETURNS_SYNTHETIC_IDENTIFIER_STRING
public static final String RETURNS_SYNTHETIC_IDENTIFIER_STRING
The synthetic local variable for the variable holding the return value in an instrumented method. This variable is essential check post-conditions for query/ hybrid command/query methods.- See Also:
- Constant Field Values
-
RETURNS_CLAUSE_PARAMETER_IDENTIFIER_STRING
public static final String RETURNS_CLAUSE_PARAMETER_IDENTIFIER_STRING
A special identifier to be used in clause methods to refer to the value returned by a method.- See Also:
- Constant Field Values
-
RAISES_SYNTHETIC_IDENTIFIER_STRING
public static final String RAISES_SYNTHETIC_IDENTIFIER_STRING
The synthetic local variable for the variable holding the raised exception value in an instrumented method. This variable is essential check exceptional post-conditions for query/ hybrid command/query methods.- See Also:
- Constant Field Values
-
THROWN_SYNTHETIC_IDENTIFIER_STRING
public static final String THROWN_SYNTHETIC_IDENTIFIER_STRING
The synthetic variable for the captured exception in the try-catch-finally block that implements the semantics of contract checking.- See Also:
- Constant Field Values
-
RAISES_CLAUSE_PARAMETER_IDENTIFIER_STRING
public static final String RAISES_CLAUSE_PARAMETER_IDENTIFIER_STRING
A special identifier to be used in clause methods to refer to the exception value raised/thrown by a method.- See Also:
- Constant Field Values
-
OLD_FIELD_IDENTIFIER_STRING
public static final String OLD_FIELD_IDENTIFIER_STRING
The name of the synthetic instance field used to store the old values table for instance method calls.- See Also:
- Constant Field Values
-
STATIC_OLD_FIELD_IDENTIFIER_STRING
public static final String STATIC_OLD_FIELD_IDENTIFIER_STRING
The name of the synthetic static field used to store the old values table for static method calls.- See Also:
- Constant Field Values
-
INSTANCE_OLD_METHOD_IDENTIFIER_STRING
public static final String INSTANCE_OLD_METHOD_IDENTIFIER_STRING
The name of the method called to retrieve old values in instance method calls. Calls to the static old method of Contract are rewritten to this method in the case of instance method calls.
-
STATIC_OLD_METHOD_IDENTIFIER_STRING
public static final String STATIC_OLD_METHOD_IDENTIFIER_STRING
The name of the method called to retrieve old values in static method calls. Calls to the static old method of Contract are rewritten to this method in the case of static method calls.
-
KRYO_CLONE_METHOD_QUALIFIED_IDENTIFIER
public static final String KRYO_CLONE_METHOD_QUALIFIED_IDENTIFIER
The name of the method called to clone objects with Kryo.- See Also:
kryoClone, Constant Field Values
-
-