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 boolean
Classfile.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 String
Classfile.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 String
Classfile.getConstantPoolClassName
(int cpIdx) Get a string from the constant pool, and interpret it as a class name by replacing '/' with '.'.private String
Classfile.getConstantPoolString
(int cpIdx) Get a string from the constant pool.private String
Classfile.getConstantPoolString
(int cpIdx, boolean replaceSlashWithDot, boolean stripLSemicolon) Get a string from the constant pool, optionally replacing '/' with '.'.private String
Classfile.getConstantPoolString
(int cpIdx, int subFieldIdx) Get a string from the constant pool.private byte
Classfile.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 int
Classfile.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 Object
Classfile.getFieldConstantPoolValue
(int tag, char fieldTypeDescriptorFirstChar, int cpIdx) Get a field constant from the constant pool.private void
Classfile.readBasicClassInfo()
Read basic class information.private void
Classfile.readClassAttributes()
Read class attributes.private void
Classfile.readFields()
Read the class' fields.private void
Classfile.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.