|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kohsuke.accmod.impl.Checker
public class Checker
Performs check.
Field Summary | |
---|---|
java.lang.ClassLoader |
dependencies
Where dependencies are loaded. |
Constructor Summary | |
---|---|
Checker(java.lang.ClassLoader dependencies,
ErrorListener errorListener)
|
Method Summary | |
---|---|
void |
check(java.io.File f)
Checks a single class file or a directory full of class files (recursively.) |
void |
checkClass(java.io.File clazz)
Inspects a class for the restriction violations. |
ErrorListener |
getErrorListener()
|
void |
loadRestrictions(java.io.InputStream stream,
boolean isInTheInspectedModule)
Loads an additional restriction from the specified "META-INF/annotations/org.kohsuke.accmod.Restricted" file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final java.lang.ClassLoader dependencies
Constructor Detail |
---|
public Checker(java.lang.ClassLoader dependencies, ErrorListener errorListener) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public ErrorListener getErrorListener()
public void check(java.io.File f) throws java.io.IOException
java.io.IOException
public void loadRestrictions(java.io.InputStream stream, boolean isInTheInspectedModule) throws java.io.IOException
isInTheInspectedModule
- This value shows up in RestrictedElement.isInTheInspectedModule()
.stream
-
java.io.IOException
public void checkClass(java.io.File clazz) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |