dk.brics.xact.analysis.flowgraph.statements
Enum AnalyzeStm.Kind

java.lang.Object
  extended by java.lang.Enum<AnalyzeStm.Kind>
      extended by dk.brics.xact.analysis.flowgraph.statements.AnalyzeStm.Kind
All Implemented Interfaces:
Serializable, Comparable<AnalyzeStm.Kind>
Enclosing class:
AnalyzeStm

public static enum AnalyzeStm.Kind
extends Enum<AnalyzeStm.Kind>


Enum Constant Summary
ANALYZECALL
          Call to XML.analyze(String).
HOTSPOT
          A hotspot added manually using Configuration.getHotspots().
TYPEANNOTATION
          Assignment to some type annotation.
 
Method Summary
static AnalyzeStm.Kind valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AnalyzeStm.Kind[] 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

ANALYZECALL

public static final AnalyzeStm.Kind ANALYZECALL
Call to XML.analyze(String).


HOTSPOT

public static final AnalyzeStm.Kind HOTSPOT
A hotspot added manually using Configuration.getHotspots(). These should not be checked by the XML analysis, but the XML graph must be available.


TYPEANNOTATION

public static final AnalyzeStm.Kind TYPEANNOTATION
Assignment to some type annotation.

Method Detail

valueOf

public static AnalyzeStm.Kind valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

values

public static AnalyzeStm.Kind[] 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 (AnalyzeStm.Kind c : AnalyzeStm.Kind.values())
    System.out.println(c);

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


Copyright © 2005-2011 Aarhus University.