org.sonar.java.bytecode.asm
Enum AsmClassProvider.DETAIL_LEVEL

java.lang.Object
  extended by java.lang.Enum<AsmClassProvider.DETAIL_LEVEL>
      extended by org.sonar.java.bytecode.asm.AsmClassProvider.DETAIL_LEVEL
All Implemented Interfaces:
Serializable, Comparable<AsmClassProvider.DETAIL_LEVEL>
Enclosing class:
AsmClassProvider

public static enum AsmClassProvider.DETAIL_LEVEL
extends Enum<AsmClassProvider.DETAIL_LEVEL>


Enum Constant Summary
NOTHING
          Nothing is loaded from the bytecode
STRUCTURE
          Superclass and interfaces are loaded along with fields and methods but not types used by fields or methods
STRUCTURE_AND_CALLS
          Calls to other methods are loaded
 
Method Summary
static AsmClassProvider.DETAIL_LEVEL valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AsmClassProvider.DETAIL_LEVEL[] 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

NOTHING

public static final AsmClassProvider.DETAIL_LEVEL NOTHING
Nothing is loaded from the bytecode


STRUCTURE

public static final AsmClassProvider.DETAIL_LEVEL STRUCTURE
Superclass and interfaces are loaded along with fields and methods but not types used by fields or methods


STRUCTURE_AND_CALLS

public static final AsmClassProvider.DETAIL_LEVEL STRUCTURE_AND_CALLS
Calls to other methods are loaded

Method Detail

values

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

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

valueOf

public static AsmClassProvider.DETAIL_LEVEL 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


Copyright © 2012-2014 SonarSource. All Rights Reserved.