Class SafeJarLibraryInfo

java.lang.Object
org.fife.rsta.ac.java.buildpath.LibraryInfo
org.fife.rsta.ac.java.buildpath.JarLibraryInfo
net.mcreator.java.SafeJarLibraryInfo
All Implemented Interfaces:
Cloneable, Comparable<org.fife.rsta.ac.java.buildpath.LibraryInfo>

public class SafeJarLibraryInfo extends org.fife.rsta.ac.java.buildpath.JarLibraryInfo
A JarLibraryInfo that excludes class files the RSTA class reader cannot parse from the package map. The reader predates JPMS, so module descriptors (constant pool tags 19/20) make class file parsing fail with an IOException that aborts the completion lookup in progress. Module descriptors (module-info.class) and multi-release META-INF/versions entries are useless for code completion anyway, so they are not indexed at all.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.fife.rsta.ac.java.PackageMapNode
     

    Methods inherited from class org.fife.rsta.ac.java.buildpath.JarLibraryInfo

    bulkClassFileCreationEnd, bulkClassFileCreationStart, compareTo, createClassFile, createClassFileBulk, getJarFile, getLastModified, getLocationAsString, hashCodeImpl, toString

    Methods inherited from class org.fife.rsta.ac.java.buildpath.LibraryInfo

    clone, equals, getJreJarInfo, getMainJreJarInfo, getSourceLocation, hashCode, setSourceLocation

    Methods inherited from class Object

    finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • SafeJarLibraryInfo

      public SafeJarLibraryInfo(String jarFile)
    • SafeJarLibraryInfo

      public SafeJarLibraryInfo(File jarFile)
  • Method Details

    • createPackageMap

      public org.fife.rsta.ac.java.PackageMapNode createPackageMap() throws IOException
      Overrides:
      createPackageMap in class org.fife.rsta.ac.java.buildpath.JarLibraryInfo
      Throws:
      IOException