Package edu.umd.cs.findbugs.ba
Class RepositoryClassParser
- java.lang.Object
-
- edu.umd.cs.findbugs.ba.RepositoryClassParser
-
public class RepositoryClassParser extends java.lang.ObjectA special version of ClassParser that automatically enters parsed classes into the Repository. This allows us to use the Repository to inspect the class hierarchy, based on the current class path.
-
-
Constructor Summary
Constructors Constructor Description RepositoryClassParser(java.io.InputStream inputStream, java.lang.String fileName)Constructor.RepositoryClassParser(java.lang.String fileName)Constructor.RepositoryClassParser(java.lang.String zipFile, java.lang.String fileName)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.bcel.classfile.JavaClassparse()Parse the class file into a JavaClass object.
-
-
-
Constructor Detail
-
RepositoryClassParser
public RepositoryClassParser(java.io.InputStream inputStream, java.lang.String fileName)Constructor.- Parameters:
inputStream- the input stream from which to read the class filefileName- filename of the class file
-
RepositoryClassParser
public RepositoryClassParser(java.lang.String fileName)
Constructor.- Parameters:
fileName- name of the class file
-
RepositoryClassParser
public RepositoryClassParser(java.lang.String zipFile, java.lang.String fileName)Constructor.- Parameters:
zipFile- name of a zip file containing the classfileName- name of the zip entry within the class
-
-