|
FindBugs™ 1.3.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.umd.cs.findbugs.classfile.engine.ClassParser
public class ClassParser
Parse a class to extract symbolic information. see http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html
Constructor Summary | |
---|---|
ClassParser(java.io.DataInputStream in,
ClassDescriptor expectedClassDescriptor,
ICodeBaseEntry codeBaseEntry)
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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 fromMethod Detail |
---|
public 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 information
InvalidClassFileFormatException
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 information
InvalidClassFileFormatException
public static void extractReferencedClassesFromSignature(java.util.Set<ClassDescriptor> referencedClassSet, java.lang.String signature)
referencedClassSet
- signature
-
|
FindBugs™ 1.3.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |