net.nicoulaj.maven.plugins.soot
Enum SootMojo.OutputFormat

java.lang.Object
  extended by java.lang.Enum<SootMojo.OutputFormat>
      extended by net.nicoulaj.maven.plugins.soot.SootMojo.OutputFormat
All Implemented Interfaces:
Serializable, Comparable<SootMojo.OutputFormat>
Enclosing class:
SootMojo

public static enum SootMojo.OutputFormat
extends Enum<SootMojo.OutputFormat>

Values for SootMojo.outputFormat option.


Enum Constant Summary
B
          Produce .b (abbreviated Baf) files.
BAF
          Produce .baf files.
CLASS
          Produce .class files.
DAVA
          Produce dava-decompiled .java files.
GRIMP
          Produce .grimp (abbreviated Grimp) files.
GRIMPLE
          Produce .grimple files.
JASMIN
          Produce .jasmin files.
JIMP
          Produce .jimp (abbreviated Jimple) files.
JIMPLE
          Produce .jimple files.
NONE
          Produce no output.
SHIMP
          Produce .shimp (abbreviated Shimple) files.
SHIMPLE
          Produce .shimple files.
TEMPLATE
          Produce .java files with Jimple templates.
XML
          Produce .xml files.
 
Field Summary
protected  int value
           
 
Method Summary
 int getValue()
           
static SootMojo.OutputFormat valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SootMojo.OutputFormat[] 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

JIMPLE

public static final SootMojo.OutputFormat JIMPLE
Produce .jimple files.

Produce .jimple files, which contain a textual form of Soot's Jimple internal representation.


JIMP

public static final SootMojo.OutputFormat JIMP
Produce .jimp (abbreviated Jimple) files.

Produce .jimp files, which contain an abbreviated form of Jimple.


SHIMPLE

public static final SootMojo.OutputFormat SHIMPLE
Produce .shimple files.

Produce.shimple files, containing a textual form of Soot's SSA Shimple internal representation. Shimple adds Phi nodes to Jimple.


SHIMP

public static final SootMojo.OutputFormat SHIMP
Produce .shimp (abbreviated Shimple) files.

Produce .shimp files, which contain an abbreviated form of Shimple.


BAF

public static final SootMojo.OutputFormat BAF
Produce .baf files.

Produce .baf files, which contain a textual form of Soot's Baf internal representation.


B

public static final SootMojo.OutputFormat B
Produce .b (abbreviated Baf) files.

Produce .b files, which contain an abbreviated form of Baf.


GRIMPLE

public static final SootMojo.OutputFormat GRIMPLE
Produce .grimple files.

Produce .grimple files, which contain a textual form of Soot's Grimp internal representation.


GRIMP

public static final SootMojo.OutputFormat GRIMP
Produce .grimp (abbreviated Grimp) files.

Produce .grimp files, which contain an abbreviated form of Grimp.


XML

public static final SootMojo.OutputFormat XML
Produce .xml files.

Produce .xml files containing an annotated version of the Soot's Jimple internal representation.


NONE

public static final SootMojo.OutputFormat NONE
Produce no output.

Produce no output files.


JASMIN

public static final SootMojo.OutputFormat JASMIN
Produce .jasmin files.

Produce .jasmin files, suitable as input to the jasmin bytecode assembler.


CLASS

public static final SootMojo.OutputFormat CLASS
Produce .class files.

Produce Java .class files, executable by any Java Virtual Machine.


DAVA

public static final SootMojo.OutputFormat DAVA
Produce dava-decompiled .java files.

Produce .java files generated by the Dava decompiler.


TEMPLATE

public static final SootMojo.OutputFormat TEMPLATE
Produce .java files with Jimple templates.

Produce .java files with Jimple templates.

Field Detail

value

protected int value
Method Detail

values

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

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

valueOf

public static SootMojo.OutputFormat 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

getValue

public int getValue()


Copyright © 2012-2013. All Rights Reserved.