public class ClassParser extends java.lang.Object implements ClassParserInterface
Constructor and Description |
---|
ClassParser(java.io.DataInputStream in,
ClassDescriptor expectedClassDescriptor,
ICodeBaseEntry codeBaseEntry)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static void |
extractReferencedClassesFromSignature(java.util.Set<ClassDescriptor> referencedClassSet,
java.lang.String signature) |
void |
parse(ClassInfo.Builder builder)
Parse the class data into a ClassInfo object containing (some of) the
class's symbolic information.
|
void |
parse(ClassNameAndSuperclassInfo.Builder builder)
Parse the class data into a ClassNameAndSuperclassInfo object containing
(some of) the class's symbolic information.
|
public ClassParser(java.io.DataInputStream in, @CheckForNull ClassDescriptor expectedClassDescriptor, ICodeBaseEntry codeBaseEntry)
in
- the DataInputStream to read class data fromexpectedClassDescriptor
- ClassDescriptor expected: null if unknowncodeBaseEntry
- codebase entry class is loaded frompublic void parse(ClassNameAndSuperclassInfo.Builder builder) throws InvalidClassFileFormatException
ClassParserInterface
parse
in interface ClassParserInterface
builder
- a ClassNameAndSuperclassInfo object to be filled in with (some
of) the class's symbolic informationInvalidClassFileFormatException
public void parse(ClassInfo.Builder builder) throws InvalidClassFileFormatException
ClassParserInterface
parse
in interface ClassParserInterface
builder
- a ClassInfo object to be filled in with (some of) the class's
symbolic informationInvalidClassFileFormatException
public static void extractReferencedClassesFromSignature(java.util.Set<ClassDescriptor> referencedClassSet, java.lang.String signature)
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.