File tree 1 file changed +24
-0
lines changed
1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -444,4 +444,28 @@ protected void cproverNondetInitialize() {
444
444
CProver .assume (enumConstantDirectory == null );
445
445
}
446
446
447
+ // DIFFBLUE MODEL LIBRARY
448
+ // This method is called by CBMC to try to set class constants, which can
449
+ // avoid the time-consuming process of enumerating over the constant
450
+ // dictionary's internal array, when generating the Class object non-
451
+ // deterministically.
452
+ public void cproverInitializeClassLiteral (
453
+ String name ,
454
+ boolean isAnnotation ,
455
+ boolean isArray ,
456
+ boolean isInterface ,
457
+ boolean isSynthetic ,
458
+ boolean isLocalClass ,
459
+ boolean isMemberClass ,
460
+ boolean isEnum ) {
461
+ this .name = name ;
462
+ this .isAnnotation = isAnnotation ;
463
+ this .isArray = isArray ;
464
+ this .isInterface = isInterface ;
465
+ this .isSynthetic = isSynthetic ;
466
+ this .isLocalClass = isLocalClass ;
467
+ this .isMemberClass = isMemberClass ;
468
+ this .isEnum = isEnum ;
469
+ }
470
+
447
471
}
You can’t perform that action at this time.
0 commit comments