public class JarClasses extends Object
Constructor and Description |
---|
JarClasses()
Constructor to create an empty instance.
|
Modifier and Type | Method and Description |
---|---|
void |
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 |
addMethod(String name)
Add a discovered method to the record.
|
void |
addPackage(String name)
Add a discovered package to the record.
|
List<String> |
getClassNames() |
List<String> |
getImports() |
String |
getJdkRevision() |
List<String> |
getMethods() |
List<String> |
getPackages() |
boolean |
isDebugPresent() |
void |
setDebugPresent(boolean hasDebugSymbols) |
void |
setJdkRevision(String jdkRevision) |
public void addClassName(String name)
name
- the name of the classpublic void addPackage(String name)
name
- the name of the packagepublic void addMethod(String name)
name
- the name of the methodpublic void addImports(List<String> imports)
imports
- the imports to add. Each item should be a String to avoid down the line ClassCastExceptions.public boolean isDebugPresent()
public void setDebugPresent(boolean hasDebugSymbols)
public String getJdkRevision()
public void setJdkRevision(String jdkRevision)
Copyright © 2002–2024 The Apache Software Foundation. All rights reserved.