Index

A B D E G I L N O P R T U V W 
All Classes and Interfaces|All Packages

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
 
appliesToNested() - Method in class org.kohsuke.accmod.AccessRestriction
Whether this access restriction, if applied to a type, should also be considered to apply implicitly to all transitively nested members.
appliesToNested() - Method in class org.kohsuke.accmod.restrictions.DoNotUse
 

B

Beta - Class in org.kohsuke.accmod.restrictions
References are only allowed within the same module, as in NoExternalUse, or when a special flag is set in the consuming module.
Beta() - Constructor for class org.kohsuke.accmod.restrictions.Beta
 

D

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

error(Location, RestrictedElement, ErrorListener) - Method in class org.kohsuke.accmod.restrictions.Beta
 
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
 

G

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.
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.
getProperty(String) - Method in interface org.kohsuke.accmod.impl.Location
Loads a configuration setting from the environment, such as when configured by a Maven plugin.

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, 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, RestrictedElement, ErrorListener) - Method in class org.kohsuke.accmod.restrictions.DoNotUse
 
invoked(Location, RestrictedElement, ErrorListener) - Method in class org.kohsuke.accmod.restrictions.None
 
invoked(Location, RestrictedElement, ErrorListener) - Method in class org.kohsuke.accmod.restrictions.ProtectedExternally
 
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

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 - Class in org.kohsuke.accmod.restrictions
No access restriction whatsoever.
None() - Constructor for class org.kohsuke.accmod.restrictions.None
 
NONE - Static variable in class org.kohsuke.accmod.AccessRestriction
AccessRestriction that imposes no restriction.
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

ProtectedExternally - Class in org.kohsuke.accmod.restrictions
A method which may be implemented/overridden from anywhere, including super calls, but may not be otherwise called outside the source module.
ProtectedExternally() - Constructor for class org.kohsuke.accmod.restrictions.ProtectedExternally
 

R

read(Location, RestrictedElement, ErrorListener) - Method in class org.kohsuke.accmod.AccessRestriction
The field on which this restriction is placed is read.
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 Interface 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

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, 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, RestrictedElement, ErrorListener) - Method in class org.kohsuke.accmod.restrictions.DoNotUse
 
usedAsSuperType(Location, RestrictedElement, ErrorListener) - Method in class org.kohsuke.accmod.restrictions.None
 

V

value() - Element in annotation interface org.kohsuke.accmod.Restricted
Kind of access that are restricted.

W

written(Location, RestrictedElement, ErrorListener) - Method in class org.kohsuke.accmod.AccessRestriction
The field on which this restriction is placed is updated.
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 B D E G I L N O P R T U V W 
All Classes and Interfaces|All Packages