org.kohsuke.accmod.impl
Class Restrictions

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<AccessRestriction>
              extended by org.kohsuke.accmod.impl.Restrictions
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<AccessRestriction>, java.util.Collection<AccessRestriction>, java.util.List<AccessRestriction>, java.util.RandomAccess

public class Restrictions
extends java.util.ArrayList<AccessRestriction>

Author:
Kohsuke Kawaguchi
See Also:
Serialized Form

Field Summary
static Restrictions NONE
           
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
Restrictions(RestrictedElement target)
           
Restrictions(RestrictedElement target, java.util.Collection<? extends AccessRestriction> c)
           
 
Method Summary
 void instantiated(Location loc, ErrorListener errorListener)
           
 void invoked(Location location, ErrorListener errorListener)
           
 void read(Location location, ErrorListener errorListener)
           
 void usedAsInterface(Location loc, ErrorListener errorListener)
           
 void usedAsSuperType(Location loc, ErrorListener errorListener)
           
 void written(Location location, ErrorListener errorListener)
           
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode
 
Methods inherited from class java.util.AbstractCollection
containsAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode
 

Field Detail

NONE

public static final Restrictions NONE
Constructor Detail

Restrictions

public Restrictions(RestrictedElement target,
                    java.util.Collection<? extends AccessRestriction> c)

Restrictions

public Restrictions(RestrictedElement target)
Method Detail

usedAsSuperType

public void usedAsSuperType(Location loc,
                            ErrorListener errorListener)

usedAsInterface

public void usedAsInterface(Location loc,
                            ErrorListener errorListener)

instantiated

public void instantiated(Location loc,
                         ErrorListener errorListener)

invoked

public void invoked(Location location,
                    ErrorListener errorListener)

read

public void read(Location location,
                 ErrorListener errorListener)

written

public void written(Location location,
                    ErrorListener errorListener)


Copyright © 2011. All Rights Reserved.