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 classClassParserUsingASM.ClassParserMethodVisitor(package private) static classClassParserUsingASM.IdentityMethodState(package private) static classClassParserUsingASM.ParameterLoadState(package private) static classClassParserUsingASM.StubState
-
Field Summary
Fields Modifier and Type Field Description private org.objectweb.asm.ClassReaderclassReaderprivate ICodeBaseEntrycodeBaseEntryprivate static java.util.BitSetRETURN_OPCODE_SETprivate java.lang.StringslashedClassName
-
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 voidparse(ClassInfo.Builder builder)Parse the class data into a ClassInfo object containing (some of) the class's symbolic information.voidparse(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:ClassParserInterfaceParse the class data into a ClassNameAndSuperclassInfo object containing (some of) the class's symbolic information.- Specified by:
parsein 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:ClassParserInterfaceParse the class data into a ClassInfo object containing (some of) the class's symbolic information.- Specified by:
parsein interfaceClassParserInterface- Parameters:
builder- a ClassInfo object to be filled in with (some of) the class's symbolic information- Throws:
InvalidClassFileFormatException
-
-