Module jdk.jshell
Package jdk.jshell

Class ImportSnippet


  • public class ImportSnippet
    extends PersistentSnippet
    Snippet for an import declaration. The Kind is Snippet.Kind.IMPORT.

    ImportSnippet is immutable: an access to any of its methods will always return the same result. and thus is thread-safe.

    Since:
    9
    See The Java™ Language Specification:
    8.3: importDeclaration.

微信小程序

微信扫一扫体验

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部