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


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

An annotation used to designate methods that are not allowed to run if the monitor of the field specified by class and field name is owned by any thread.

Author:
Mathias Ricken

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

Element Detail

fieldClass

public abstract java.lang.Class fieldClass
The class that contains the field whose monitor may not be owned by any thread.

Returns:
class containing the field

fieldName

public abstract java.lang.String fieldName
The name of the field whose monitor may not be owned by any thread.

Returns:
name of the field