mirror of
https://github.com/adelphes/android-dev-ext.git
synced 2025-12-22 17:39:19 +00:00
apply statics filter to enum values
This commit is contained in:
@@ -89,7 +89,7 @@ function getTypedNameCompletion(typemap, type_signature, opts, typelist) {
|
||||
|
||||
// retrieve fields and methods
|
||||
types.forEach(t => {
|
||||
if (t instanceof SourceType) {
|
||||
if (t instanceof SourceType && opts.statics) {
|
||||
t.enumValues.sort(sortBy.name)
|
||||
.forEach(e => enumValues.set(e.name, {e, t}))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user