A C D E G I L N O P R T U W 

A

AccessRestriction - Class in org.kohsuke.accmod
Access restriction policy — determines what access is OK and what are not.
AccessRestriction() - Constructor for class org.kohsuke.accmod.AccessRestriction
 
AccessRestrictionFactory - Class in org.kohsuke.accmod.impl
Pool of AccessRestriction instances.
AccessRestrictionFactory(ClassLoader) - Constructor for class org.kohsuke.accmod.impl.AccessRestrictionFactory
 

C

check(File) - Method in class org.kohsuke.accmod.impl.Checker
Checks a single class file or a directory full of class files (recursively.)
checkClass(File) - Method in class org.kohsuke.accmod.impl.Checker
Inspects a class for the restriction violations.
Checker - Class in org.kohsuke.accmod.impl
Performs check.
Checker(ClassLoader, ErrorListener) - Constructor for class org.kohsuke.accmod.impl.Checker
 

D

dependencies - Variable in class org.kohsuke.accmod.impl.Checker
Where dependencies are loaded.
DoNotUse - Class in org.kohsuke.accmod.restrictions
This type, field, or method shall never be referenced from anywhere at all.
DoNotUse() - Constructor for class org.kohsuke.accmod.restrictions.DoNotUse
 

E

EnforcerMojo - Class in org.kohsuke.accmod.impl
Enforces the Restricted access modifier annotations.
EnforcerMojo() - Constructor for class org.kohsuke.accmod.impl.EnforcerMojo
 
error(Location, RestrictedElement, ErrorListener) - Method in class org.kohsuke.accmod.restrictions.DoNotUse
 
error(Location, RestrictedElement, ErrorListener) - Method in class org.kohsuke.accmod.restrictions.NoExternalUse
 
ErrorListener - Interface in org.kohsuke.accmod.impl
 
execute() - Method in class org.kohsuke.accmod.impl.EnforcerMojo
 

G

get(Type) - Method in class org.kohsuke.accmod.impl.AccessRestrictionFactory
 
getClassName() - Method in interface org.kohsuke.accmod.impl.Location
The fully-qualified class name in which the use happened, for example "abc.def.Ghi"
getDependencyClassLoader() - Method in interface org.kohsuke.accmod.impl.Location
AccessRestriction implementations can use this classloader to access the classes referenced by classes being inspected.
getErrorListener() - Method in class org.kohsuke.accmod.impl.Checker
 
getLineNumber() - Method in interface org.kohsuke.accmod.impl.Location
The line number in the source file where the use happened.
getMethodDescriptor() - Method in interface org.kohsuke.accmod.impl.Location
This is the encoded method signature like "(II)Z" in which the use happened.
getMethodName() - Method in interface org.kohsuke.accmod.impl.Location
If the use happened in the byte code instruction, method name that the use occurred in.

I

instantiated(Location, RestrictedElement, ErrorListener) - Method in class org.kohsuke.accmod.AccessRestriction
The type on which this restriction is placed is instantiated elsewhere.
instantiated(Location, ErrorListener) - Method in class org.kohsuke.accmod.impl.Restrictions
 
instantiated(Location, RestrictedElement, ErrorListener) - Method in class org.kohsuke.accmod.restrictions.DoNotUse
 
instantiated(Location, RestrictedElement, ErrorListener) - Method in class org.kohsuke.accmod.restrictions.None
 
invoked(Location, RestrictedElement, ErrorListener) - Method in class org.kohsuke.accmod.AccessRestriction
The method on which this restriction is placed is invoked elsewhere.
invoked(Location, ErrorListener) - Method in class org.kohsuke.accmod.impl.Restrictions
 
invoked(Location, RestrictedElement, ErrorListener) - Method in class org.kohsuke.accmod.restrictions.DoNotUse
 
invoked(Location, RestrictedElement, ErrorListener) - Method in class org.kohsuke.accmod.restrictions.None
 
isInTheInspectedModule() - Method in interface org.kohsuke.accmod.impl.RestrictedElement
True if the restricted element is a part of the code that's being inspected.

L

loadRestrictions(InputStream, boolean) - Method in class org.kohsuke.accmod.impl.Checker
Loads an additional restriction from the specified "META-INF/annotations/org.kohsuke.accmod.Restricted" file.
Location - Interface in org.kohsuke.accmod.impl
Indicates the location that the use occurred.

N

NoExternalUse - Class in org.kohsuke.accmod.restrictions
References are allowed only when they are within the same module (that is, if the reference is compiled at the same time as the restricted element.)
NoExternalUse() - Constructor for class org.kohsuke.accmod.restrictions.NoExternalUse
 
NONE - Static variable in class org.kohsuke.accmod.AccessRestriction
AccessRestriction that imposes no restriction.
NONE - Static variable in class org.kohsuke.accmod.impl.Restrictions
 
None - Class in org.kohsuke.accmod.restrictions
No access restriction whatsoever.
None() - Constructor for class org.kohsuke.accmod.restrictions.None
 
NULL - Static variable in interface org.kohsuke.accmod.impl.ErrorListener
No-op listener.

O

onError(Throwable, Location, String) - Method in interface org.kohsuke.accmod.impl.ErrorListener
 
onWarning(Throwable, Location, String) - Method in interface org.kohsuke.accmod.impl.ErrorListener
 
org.kohsuke.accmod - package org.kohsuke.accmod
 
org.kohsuke.accmod.impl - package org.kohsuke.accmod.impl
 
org.kohsuke.accmod.restrictions - package org.kohsuke.accmod.restrictions
 

P

project - Variable in class org.kohsuke.accmod.impl.EnforcerMojo
The maven project.

R

read(Location, RestrictedElement, ErrorListener) - Method in class org.kohsuke.accmod.AccessRestriction
The field on which this restriction is placed is read.
read(Location, ErrorListener) - Method in class org.kohsuke.accmod.impl.Restrictions
 
read(Location, RestrictedElement, ErrorListener) - Method in class org.kohsuke.accmod.restrictions.DoNotUse
 
read(Location, RestrictedElement, ErrorListener) - Method in class org.kohsuke.accmod.restrictions.None
 
Restricted - Annotation Type in org.kohsuke.accmod
Indicates that a particular element is really deprecated and that the access to it is subject to the additional restrictions.
RestrictedElement - Interface in org.kohsuke.accmod.impl
Represents the element annotated by Restricted
Restrictions - Class in org.kohsuke.accmod.impl
 
Restrictions(RestrictedElement, Collection<? extends AccessRestriction>) - Constructor for class org.kohsuke.accmod.impl.Restrictions
 
Restrictions(RestrictedElement) - Constructor for class org.kohsuke.accmod.impl.Restrictions
 

T

toString() - Method in interface org.kohsuke.accmod.impl.Location
Obtains a human readable description of the location.
toString() - Method in interface org.kohsuke.accmod.impl.RestrictedElement
 

U

usedAsInterface(Location, RestrictedElement, ErrorListener) - Method in class org.kohsuke.accmod.AccessRestriction
The type on which this restriction is placed is used as an interface that another class/interface implements.
usedAsInterface(Location, ErrorListener) - Method in class org.kohsuke.accmod.impl.Restrictions
 
usedAsInterface(Location, RestrictedElement, ErrorListener) - Method in class org.kohsuke.accmod.restrictions.DoNotUse
 
usedAsInterface(Location, RestrictedElement, ErrorListener) - Method in class org.kohsuke.accmod.restrictions.None
 
usedAsSuperType(Location, RestrictedElement, ErrorListener) - Method in class org.kohsuke.accmod.AccessRestriction
The type on which this restriction is placed is used as a supertype by another class.
usedAsSuperType(Location, ErrorListener) - Method in class org.kohsuke.accmod.impl.Restrictions
 
usedAsSuperType(Location, RestrictedElement, ErrorListener) - Method in class org.kohsuke.accmod.restrictions.DoNotUse
 
usedAsSuperType(Location, RestrictedElement, ErrorListener) - Method in class org.kohsuke.accmod.restrictions.None
 

W

written(Location, RestrictedElement, ErrorListener) - Method in class org.kohsuke.accmod.AccessRestriction
The field on which this restriction is placed is updated.
written(Location, ErrorListener) - Method in class org.kohsuke.accmod.impl.Restrictions
 
written(Location, RestrictedElement, ErrorListener) - Method in class org.kohsuke.accmod.restrictions.DoNotUse
 
written(Location, RestrictedElement, ErrorListener) - Method in class org.kohsuke.accmod.restrictions.None
 
A C D E G I L N O P R T U W 

Copyright © 2013. All Rights Reserved.