edu.rice.cs.cunit.threadCheck.predicates
Annotation Type NotSynchronizedField


@Retention(value=RUNTIME)
@Target(value={CONSTRUCTOR,METHOD,TYPE})
public @interface NotSynchronizedField

An annotation used to designate methods that are not allowed to own the monitor of the field specified by class and field name.

Author:
Mathias Ricken

Required Element Summary
 java.lang.Class fieldClass
          The class that contains the field whose monitor the thread may not own.
 java.lang.String fieldName
          The name of the field whose monitor the thread may not own.
 

Element Detail

fieldClass

public abstract java.lang.Class fieldClass
The class that contains the field whose monitor the thread may not own.

Returns:
class containing the field

fieldName

public abstract java.lang.String fieldName
The name of the field whose monitor the thread may not own.

Returns:
name of the field