Interface ClassParserInterface
- All Known Implementing Classes:
ClassParser
,ClassParserUsingASM
,ClassParserUsingBCEL
public interface ClassParserInterface
Interface implemented by ClassParsers - objects that take the raw bytes of a
classfile and parse the important symbolic information to produce
ClassNameAndSuperclassInfo and ClassInfo objects.
- Author:
- Bill Pugh, David Hovemeyer
-
Method Summary
Modifier and TypeMethodDescriptionvoid
parse
(ClassInfo.Builder classInfo) Parse the class data into a ClassInfo object containing (some of) the class's symbolic information.void
parse
(ClassNameAndSuperclassInfo.Builder classInfo) Parse the class data into a ClassNameAndSuperclassInfo object containing (some of) the class's symbolic information.
-
Method Details
-
parse
Parse the class data into a ClassNameAndSuperclassInfo object containing (some of) the class's symbolic information.- Parameters:
classInfo
- a ClassNameAndSuperclassInfo object to be filled in with (some of) the class's symbolic information- Throws:
InvalidClassFileFormatException
-
parse
Parse the class data into a ClassInfo object containing (some of) the class's symbolic information.- Parameters:
classInfo
- a ClassInfo object to be filled in with (some of) the class's symbolic information- Throws:
InvalidClassFileFormatException
-