ua.gradsoft.javachecker
Enum CheckerType

java.lang.Object
  extended by java.lang.Enum<CheckerType>
      extended by ua.gradsoft.javachecker.CheckerType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CheckerType>

public enum CheckerType
extends java.lang.Enum<CheckerType>

Type of checker

Author:
Ruslan Shevchenko

Enum Constant Summary
BT_COMPILATION_UNIT_RULESET
          ruleset over AST, which applied to compilation unit.
BT_TYPE_RULESET
          ruleset over AST, which applied to type with BT strategy
FT_TYPE_RULESET
          ruleset over AST, which applied to type with FT strategy
JAVA_CLASS
          java class, which called for type.
MODEL_RULESET
          ruleset over model term, which called for type.
POST_PROCESS_JAVA_CLASS
          java class, which called after processing and use facts API.
 
Method Summary
static CheckerType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CheckerType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BT_TYPE_RULESET

public static final CheckerType BT_TYPE_RULESET
ruleset over AST, which applied to type with BT strategy


FT_TYPE_RULESET

public static final CheckerType FT_TYPE_RULESET
ruleset over AST, which applied to type with FT strategy


BT_COMPILATION_UNIT_RULESET

public static final CheckerType BT_COMPILATION_UNIT_RULESET
ruleset over AST, which applied to compilation unit.


JAVA_CLASS

public static final CheckerType JAVA_CLASS
java class, which called for type.


MODEL_RULESET

public static final CheckerType MODEL_RULESET
ruleset over model term, which called for type.


POST_PROCESS_JAVA_CLASS

public static final CheckerType POST_PROCESS_JAVA_CLASS
java class, which called after processing and use facts API.

Method Detail

values

public static CheckerType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (CheckerType c : CheckerType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CheckerType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null