A position to insert new imports
A position to insert new imports
the offset where to place the import.
the indentation at which to place the import.
Detects type member select from qualifiers that extend scala.Dynamic
.
Detects type member select from qualifiers that extend scala.Dynamic
.
By default, type member completions on classes that extend scala.Dynamic
return no results due to how Dynamic
desugars trees. This traverser
detects such cases and run a custom type member completion.
A Type
with custom pretty-printing representation, not used for typechecking.
A Type
with custom pretty-printing representation, not used for typechecking.
NOTE(olafur) Creating a new Type
subclass is a hack, a better long-term solution would be
to implement a custom pretty-printer for types so that we don't have to rely on Type.toString
.
A member for symbols on the classpath that are not in scope, produced via workspace/symbol.
A member for symbols on the classpath that are not in scope, produced via workspace/symbol.
(Since version 2.11.0) Use Annotation.tree
to inspect annotation arguments
(Since version 2.11.0) Use Annotation.tree
to inspect annotation arguments
(Since version 2.11.0) Use internal.ReificationSupportApi
instead
(Since version 2.11.0) c.enclosingTree-style APIs are now deprecated; consult the scaladoc for more information
(Since version 2.11.0) Use Annotation.tree
to inspect annotation arguments
(Since version 2.11.0) Use Annotation.tree
to inspect annotation arguments
(Since version 2.11.0) Use Annotation.tree
to inspect annotation arguments
(Since version 2.11.0) Use ModifiersExtractor instead
(Since version 2.11.0) Use Annotation.tree
to inspect annotation arguments
(Since version 2.11.0) Use Annotation.tree
to inspect annotation arguments
(Since version 2.11.0) c.enclosingTree-style APIs are now deprecated; consult the scaladoc for more information
Returns the end offset of the identifier starting as the given offset position.
Returns the end offset of the identifier starting as the given offset position.
Returns the start offset of the identifier starting as the given offset position.
Returns the start offset of the identifier starting as the given offset position.
Converts a SemanticDB symbol into a compiler symbol.
Custom Type.toLongString
that shortens fully qualified package prefixes.
Forwarder to package private typeMembers
method.
Forwarder to package private typeMembers
method.
Returns a high number for less relevant symbols and low number for relevant numbers.
Returns a high number for less relevant symbols and low number for relevant numbers.
Relevance is computed based on several factors such as - local vs global - public vs private - synthetic vs non-synthetic
Shortens fully qualified package prefixes to make type signatures easier to read.
Shortens fully qualified package prefixes to make type signatures easier to read.
It becomes difficult to read method signatures when they have a large number of parameters with fully qualified names. This method strips out package prefixes to shorten the names while making sure to not convert two different symbols into same short name.
(Since version 2.10.2) Use method that accepts fragments
(Since version 2.10.1) Use askLoadedTyped
instead to avoid race conditions in the typechecker
(Since version 2.10.0) Use enteringPhase
(Since version 2.11.0) Use devWarning if this is really a warning; otherwise use log
(Since version 2.11.0) Use noSelfType
instead
(Since version 2.11.0) Scaladoc is implemented with a custom Global; this flag is ignored
(Since version 2.10.1) Use isRawType
(Since version 2.10.1) Renamed to reportThrowable
(Since version 2.10.0) use genPolyType(...) instead
(Since version 2.11.0) Use explicit TermName(s)
instead
(Since version 2.11.0) Use explicit TypeName(s)
instead