Class ClassParserUsingASM
- java.lang.Object
-
- edu.umd.cs.findbugs.classfile.engine.ClassParserUsingASM
-
- All Implemented Interfaces:
ClassParserInterface
public class ClassParserUsingASM extends java.lang.Object implements ClassParserInterface
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private class
ClassParserUsingASM.ClassParserMethodVisitor
(package private) static class
ClassParserUsingASM.IdentityMethodState
(package private) static class
ClassParserUsingASM.ParameterLoadState
(package private) static class
ClassParserUsingASM.StubState
-
Field Summary
Fields Modifier and Type Field Description private org.objectweb.asm.ClassReader
classReader
private ICodeBaseEntry
codeBaseEntry
private static java.util.BitSet
RETURN_OPCODE_SET
private java.lang.String
slashedClassName
-
Constructor Summary
Constructors Constructor Description ClassParserUsingASM(org.objectweb.asm.ClassReader classReader, ClassDescriptor expectedClassDescriptor, ICodeBaseEntry codeBaseEntry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 cBuilder)
Parse the class data into a ClassNameAndSuperclassInfo object containing (some of) the class's symbolic information.
-
-
-
Field Detail
-
RETURN_OPCODE_SET
private static final java.util.BitSet RETURN_OPCODE_SET
-
classReader
private final org.objectweb.asm.ClassReader classReader
-
slashedClassName
@SlashedClassName private java.lang.String slashedClassName
-
codeBaseEntry
private final ICodeBaseEntry codeBaseEntry
-
-
Constructor Detail
-
ClassParserUsingASM
public ClassParserUsingASM(org.objectweb.asm.ClassReader classReader, @CheckForNull ClassDescriptor expectedClassDescriptor, ICodeBaseEntry codeBaseEntry)
-
-
Method Detail
-
parse
public void parse(ClassNameAndSuperclassInfo.Builder cBuilder) throws InvalidClassFileFormatException
Description copied from interface:ClassParserInterface
Parse the class data into a ClassNameAndSuperclassInfo object containing (some of) the class's symbolic information.- Specified by:
parse
in interfaceClassParserInterface
- Parameters:
cBuilder
- a ClassNameAndSuperclassInfo object to be filled in with (some of) the class's symbolic information- Throws:
InvalidClassFileFormatException
-
parse
public void parse(ClassInfo.Builder builder) throws InvalidClassFileFormatException
Description copied from interface:ClassParserInterface
Parse the class data into a ClassInfo object containing (some of) the class's symbolic information.- Specified by:
parse
in interfaceClassParserInterface
- Parameters:
builder
- a ClassInfo object to be filled in with (some of) the class's symbolic information- Throws:
InvalidClassFileFormatException
-
-