Skip to content

Commit af6a262

Browse files
committed
forgot javadoc for fallback
1 parent 3d81a86 commit af6a262

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

enigma/src/main/java/org/quiltmc/enigma/api/service/NameProposalService.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ public interface NameProposalService extends EnigmaService {
4444
@Nullable
4545
Map<Entry<?>, EntryMapping> getDynamicProposedNames(EntryRemapper remapper, @Nullable Entry<?> obfEntry, @Nullable EntryMapping oldMapping, @Nullable EntryMapping newMapping);
4646

47+
/**
48+
* Marks names proposed by this service as 'fallback' names.
49+
* Fallback names will be visually differentiated in frontend applications, and should be expected to be of lower quality than a typical proposed name.
50+
* Fallback names will not count towards statistics.
51+
*
52+
* @return whether names from this service should be marked as fallback
53+
*/
4754
default boolean isFallback() {
4855
return false;
4956
}

0 commit comments

Comments
 (0)