Uses of Class
io.github.classgraph.Classfile.ClassfileFormatException
Packages that use Classfile.ClassfileFormatException
-
Uses of Classfile.ClassfileFormatException in io.github.classgraph
Methods in io.github.classgraph that throw Classfile.ClassfileFormatExceptionModifier and TypeMethodDescriptionprivate booleanClassfile.constantPoolStringEquals(int cpIdx, String asciiStr) Compare a string in the constant pool with a given ASCII string, without constructing the constant pool String object.private StringClassfile.getConstantPoolClassDescriptor(int cpIdx) Get a string from the constant pool representing an internal string descriptor for a class name ("Lcom/xyz/MyClass;"), and interpret it as a class name by replacing '/' with '.', and removing the leading "L" and the trailing ";".private StringClassfile.getConstantPoolClassName(int cpIdx) Get a string from the constant pool, and interpret it as a class name by replacing '/' with '.'.private StringClassfile.getConstantPoolString(int cpIdx) Get a string from the constant pool.private StringClassfile.getConstantPoolString(int cpIdx, boolean replaceSlashWithDot, boolean stripLSemicolon) Get a string from the constant pool, optionally replacing '/' with '.'.private StringClassfile.getConstantPoolString(int cpIdx, int subFieldIdx) Get a string from the constant pool.private byteClassfile.getConstantPoolStringFirstByte(int cpIdx) Get the first UTF8 byte of a string in the constant pool, or '\0' if the string is null or empty.private intClassfile.getConstantPoolStringOffset(int cpIdx, int subFieldIdx) Get the byte offset within the buffer of a string from the constant pool, or 0 for a null string.private ObjectClassfile.getFieldConstantPoolValue(int tag, char fieldTypeDescriptorFirstChar, int cpIdx) Get a field constant from the constant pool.private voidClassfile.readBasicClassInfo()Read basic class information.private voidClassfile.readClassAttributes()Read class attributes.private voidClassfile.readFields()Read the class' fields.private voidClassfile.readMethods()Read the class' methods.Constructors in io.github.classgraph that throw Classfile.ClassfileFormatExceptionModifierConstructorDescription(package private)Classfile(ClasspathElement classpathElement, List<ClasspathElement> classpathOrder, Set<String> acceptedClassNamesFound, Set<String> classNamesScheduledForExtendedScanning, String relativePath, Resource classfileResource, boolean isExternalClass, ConcurrentHashMap<String, String> stringInternMap, WorkQueue<Scanner.ClassfileScanWorkUnit> workQueue, ScanSpec scanSpec, LogNode log) Directly examine contents of classfile binary header to determine annotations, implemented interfaces, the super-class etc.