public class ImportSnippetextends PersistentSnippet
Snippet.Kind.IMPORT
ImportSnippet是不可变的:对其任何方法的访问将始终返回相同的结果。 因此是线程安全的。
ImportSnippet
Snippet.Kind, Snippet.Status, Snippet.SubKind
String
fullname()
boolean
isStatic()
name()
id, kind, source, subKind
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public String name()
Snippet.SubKind.TYPE_IMPORT_ON_DEMAND_SUBKIND
Snippet.SubKind.STATIC_IMPORT_ON_DEMAND_SUBKIND
Snippet.SubKind.SINGLE_TYPE_IMPORT_SUBKIND
Snippet.SubKind.SINGLE_STATIC_IMPORT_SUBKIND
name
PersistentSnippet
public String fullname()
public boolean isStatic()
true
false