Class CSNSImportTracker

  • All Implemented Interfaces:
    ImportTracker

    public final class CSNSImportTracker
    extends java.lang.Object
    implements ImportTracker
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getPrintClassName​(java.lang.String name)  
      java.lang.Iterable<java.lang.String> imports()  
      void printImports​(java.lang.String namespace, java.lang.StringBuilder out)  
      void registerClass​(java.lang.String name)  
      void registerPackage​(java.lang.String name)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CSNSImportTracker

        public CSNSImportTracker()
    • Method Detail

      • registerPackage

        public void registerPackage​(java.lang.String name)
      • registerClass

        public void registerClass​(java.lang.String name)
      • getPrintClassName

        public java.lang.String getPrintClassName​(java.lang.String name)
        Specified by:
        getPrintClassName in interface ImportTracker
      • imports

        public java.lang.Iterable<java.lang.String> imports()
      • printImports

        public void printImports​(java.lang.String namespace,
                                 java.lang.StringBuilder out)
        Specified by:
        printImports in interface ImportTracker