Interface ClassParserInterface
-
- All Known Implementing Classes:
ClassParser,ClassParserUsingASM,ClassParserUsingBCEL
public interface ClassParserInterfaceInterface 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidparse(ClassInfo.Builder classInfo)Parse the class data into a ClassInfo object containing (some of) the class's symbolic information.voidparse(ClassNameAndSuperclassInfo.Builder classInfo)Parse the class data into a ClassNameAndSuperclassInfo object containing (some of) the class's symbolic information.
-
-
-
Method Detail
-
parse
void parse(ClassNameAndSuperclassInfo.Builder classInfo) throws InvalidClassFileFormatException
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
void parse(ClassInfo.Builder classInfo) throws InvalidClassFileFormatException
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
-
-