public abstract class DeclarationSnippet extends PersistentSnippet
VarSnippet), method declarations (
MethodSnippet), and type declarations (
Declaration snippets are unique in that they can be active
with unresolved references:
Unresolved references can be queried with
DeclarationSnippet is immutable: an access to
any of its methods will always return the same result.
and thus is thread-safe.