File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
joern-cli/frontends/javasrc2cpg/src/main/scala/io/joern/javasrc2cpg/scope Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import io.shiftleft.codepropertygraph.generated.nodes.NewMember
1616import io .joern .javasrc2cpg .util .{BindingTable , BindingTableEntry , NameConstants }
1717import io .joern .x2cpg .utils .IntervalKeyPool
1818import io .joern .x2cpg .{Ast , ValidationMode }
19+ import io .joern .javasrc2cpg .scope .JavaScopeElement .WildcardImports .{MultipleWildcards , NoWildcard , SingleWildcard }
1920
2021import java .util
2122import scala .jdk .CollectionConverters .*
@@ -98,10 +99,11 @@ case class PatternVariableInfo(
9899)
99100
100101object JavaScopeElement {
101- sealed trait WildcardImports
102- case object NoWildcard extends WildcardImports
103- case class SingleWildcard (prefix : String ) extends WildcardImports
104- case object MultipleWildcards extends WildcardImports
102+ enum WildcardImports {
103+ case NoWildcard
104+ case SingleWildcard (prefix : String )
105+ case MultipleWildcards
106+ }
105107
106108 trait AnonymousClassCounter {
107109 private val anonymousClassKeyPool = IntervalKeyPool (0 , Long .MaxValue )
You can’t perform that action at this time.
0 commit comments