public class VerifyClass
extends MatchingTask
Verify Class files. This task can take the following arguments:
| Constructor and description |
|---|
VerifyClass()Creates a bytecode verification task. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
execute()Verifies every class file below the configured directory. |
|
public void |
setDir(String dir)Sets the top-level directory that will be scanned for class files. |
|
public void |
setVerbose(boolean v)Controls whether failing methods are logged verbosely. |
| Methods inherited from class | Name |
|---|---|
class MatchingTask |
XsetIgnore, XsetItems, add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, bindToOwner, clone, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, equals, execute, getClass, getDescription, getLocation, getOwningTarget, getProject, getRuntimeConfigurableWrapper, getSelectors, getTaskName, getTaskType, hasSelectors, hashCode, init, log, log, log, log, maybeConfigure, notify, notifyAll, perform, reconfigure, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setDescription, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setLocation, setOwningTarget, setProject, setRuntimeConfigurableWrapper, setTaskName, setTaskType, toString, wait, wait, wait |
Verifies every class file below the configured directory.
Sets the top-level directory that will be scanned for class files.
dir - the directory to verifyControls whether failing methods are logged verbosely.
v - true to log failing method signaturesCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.