Skip to content

Commit fe644ba

Browse files
Name the method that registers a type's ghosts and state sets after what it does
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent bcbeb3c commit fe644ba

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎liquidjava-verifier/src/main/java/liquidjava/processor/refinement_checker/ExternalRefinementTypeChecker.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public void registerGhosts(CtInterface<?> intrface) {
7474
return;
7575
this.prefix = target.get().getValue();
7676
try {
77-
handleStateSetsFromAnnotation(intrface);
77+
registerGhostsAndStateSets(intrface);
7878
} catch (LJError e) {
7979
diagnostics.add(e);
8080
}

‎liquidjava-verifier/src/main/java/liquidjava/processor/refinement_checker/GhostsFirstChecker.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public <T> void visitCtInterface(CtInterface<T> intrface) {
3636

3737
private void register(CtType<?> type) {
3838
try {
39-
handleStateSetsFromAnnotation(type);
39+
registerGhostsAndStateSets(type);
4040
} catch (LJError e) {
4141
diagnostics.add(e);
4242
}

‎liquidjava-verifier/src/main/java/liquidjava/processor/refinement_checker/TypeChecker.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ public Optional<String> getMessageFromAnnotation(CtElement element) {
195195

196196
/** Registers the ghosts and state sets a type declares, then checks the names given to its state sets */
197197
@SuppressWarnings("unchecked")
198-
public void handleStateSetsFromAnnotation(CtElement element) throws LJError {
198+
public void registerGhostsAndStateSets(CtElement element) throws LJError {
199199
int set = 0;
200200
Map<GhostFunction, SourcePosition> namedSets = new LinkedHashMap<>();
201201
for (CtAnnotation<? extends Annotation> ann : element.getAnnotations()) {

0 commit comments

Comments
 (0)