Package sc.lang.java

Class ImportDeclaration

    • Field Detail

      • staticImport

        public boolean staticImport
      • identifier

        public java.lang.String identifier
    • Constructor Detail

      • ImportDeclaration

        public ImportDeclaration()
    • Method Detail

      • hasWildcard

        public boolean hasWildcard()
      • getIdentifierPrefix

        public java.lang.String getIdentifierPrefix()
      • createStatic

        public static ImportDeclaration createStatic​(java.lang.String ident)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • addNodeCompletions

        public java.lang.String addNodeCompletions​(JavaModel origModel,
                                                   JavaSemanticNode origNode,
                                                   java.lang.String matchPrefix,
                                                   int offset,
                                                   java.lang.String dummyIdentifier,
                                                   java.util.Set<java.lang.String> candidates,
                                                   boolean nextNameInPath,
                                                   int max)
        Description copied from class: JavaSemanticNode
        This works like suggestCompletions but designed to conform to the requirements of IntelliJ. We don't support the live programming use case in this version and have access (possibly) to the original model and original node which most closely approximates this node which is being parsed (so we can use more context to do a better job of matching because those values are all resolved).
        Overrides:
        addNodeCompletions in class JavaSemanticNode