Class JarClasses
java.lang.Object
org.apache.maven.shared.jar.classes.JarClasses
Gathered facts about the classes within a JAR file.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addClassName
(String name) Add a discovered class to the record.void
addImports
(List<String> imports) Add a list of discovered imports to the record.void
Add a discovered method to the record.void
addPackage
(String name) Add a discovered package to the record.boolean
void
setDebugPresent
(boolean hasDebugSymbols) void
setJdkRevision
(String jdkRevision)
-
Constructor Details
-
JarClasses
public JarClasses()Constructor to create an empty instance.
-
-
Method Details
-
addClassName
Add a discovered class to the record.- Parameters:
name
- the name of the class
-
addPackage
Add a discovered package to the record.- Parameters:
name
- the name of the package
-
addMethod
Add a discovered method to the record.- Parameters:
name
- the name of the method
-
addImports
Add a list of discovered imports to the record.- Parameters:
imports
- the imports to add. Each item should be a String to avoid down the line ClassCastExceptions.
-
getImports
-
getClassNames
-
getPackages
-
isDebugPresent
public boolean isDebugPresent() -
setDebugPresent
public void setDebugPresent(boolean hasDebugSymbols) -
getJdkRevision
-
setJdkRevision
-
getMethods
-