Class GroovyReflectionAutocompleteProvider
java.lang.Object
de.luckymcdev.foundryengine.client.imgui.text.preset.groovy.GroovyReflectionAutocompleteProvider
- All Implemented Interfaces:
IAutocompleteProvider
-
Constructor Summary
ConstructorsConstructorDescriptionGroovyReflectionAutocompleteProvider(GroovyColorizer colorizer, URL... scriptRoots) -
Method Summary
Modifier and TypeMethodDescriptiongetCandidates(String prefix, List<List<EditorGlyph>> lines, EditorCoordinates cursor) intbooleanshouldSuppress(String prefix, List<List<EditorGlyph>> lines, EditorCoordinates cursor) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IAutocompleteProvider
appendParens
-
Constructor Details
-
GroovyReflectionAutocompleteProvider
-
GroovyReflectionAutocompleteProvider
-
-
Method Details
-
minPrefixLength
public int minPrefixLength()- Specified by:
minPrefixLengthin interfaceIAutocompleteProvider
-
shouldSuppress
public boolean shouldSuppress(String prefix, List<List<EditorGlyph>> lines, EditorCoordinates cursor) - Specified by:
shouldSuppressin interfaceIAutocompleteProvider
-
getCandidates
public List<AutocompleteItem> getCandidates(String prefix, List<List<EditorGlyph>> lines, EditorCoordinates cursor) - Specified by:
getCandidatesin interfaceIAutocompleteProvider
-