程序包 proguard.io
类 ClassReader
java.lang.Object
proguard.io.ClassReader
- 所有已实现的接口:
DataEntryReader
This
DataEntryReader applies a given ClassVisitor to the class definitions that
it reads.
Class files are read as ProgramClass instances or LibraryClass instances,
depending on the isLibrary flag.
In case of libraries, only public classes are considered, if the
skipNonPublicLibraryClasses flag is set.
-
构造器概要
构造器构造器说明ClassReader(boolean isLibrary, boolean skipNonPublicLibraryClasses, boolean skipNonPublicLibraryClassMembers, boolean ignoreStackMapAttributes, boolean includeKotlinMetadata, WarningPrinter warningPrinter, ClassVisitor classVisitor) Creates a new ClassReader for reading the specified Clazz objects.ClassReader(boolean isLibrary, boolean skipNonPublicLibraryClasses, boolean skipNonPublicLibraryClassMembers, boolean ignoreStackMapAttributes, WarningPrinter warningPrinter, ClassVisitor classVisitor) Creates a new ClassReader for reading the specified Clazz objects. -
方法概要
-
构造器详细资料
-
ClassReader
public ClassReader(boolean isLibrary, boolean skipNonPublicLibraryClasses, boolean skipNonPublicLibraryClassMembers, boolean ignoreStackMapAttributes, WarningPrinter warningPrinter, ClassVisitor classVisitor) Creates a new ClassReader for reading the specified Clazz objects. -
ClassReader
public ClassReader(boolean isLibrary, boolean skipNonPublicLibraryClasses, boolean skipNonPublicLibraryClassMembers, boolean ignoreStackMapAttributes, boolean includeKotlinMetadata, WarningPrinter warningPrinter, ClassVisitor classVisitor) Creates a new ClassReader for reading the specified Clazz objects.
-
-
方法详细资料
-
read
从接口复制的说明:DataEntryReaderReads the given data entry.- 指定者:
read在接口中DataEntryReader- 抛出:
IOException
-
main
This main method illustrates the use of this class.It writes out the structure of the specified classes (packaged in jar, zip, or class files).
-