public static enum TypePool.Default.ReaderMode extends Enum<TypePool.Default.ReaderMode>
TypePool.Default
.Enum Constant and Description |
---|
EXTENDED
The extended reader mode parses the code segment of each method in order to detect parameter names
that are only stored in a method's debugging information but are not explicitly included.
|
FAST
The fast reader mode skips the code segment of each method and cannot detect parameter names that are
only contained within the debugging information.
|
Modifier and Type | Method and Description |
---|---|
protected int |
getFlags()
Returns the flags to provide to a
ClassReader for parsing a file. |
boolean |
isExtended()
Determines if this reader mode represents extended reading.
|
String |
toString() |
static TypePool.Default.ReaderMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypePool.Default.ReaderMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypePool.Default.ReaderMode EXTENDED
public static final TypePool.Default.ReaderMode FAST
public static TypePool.Default.ReaderMode[] values()
for (TypePool.Default.ReaderMode c : TypePool.Default.ReaderMode.values()) System.out.println(c);
public static TypePool.Default.ReaderMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullprotected int getFlags()
ClassReader
for parsing a file.ClassReader
for parsing a file.public boolean isExtended()
true
if this reader mode represents extended reading.public String toString()
toString
in class Enum<TypePool.Default.ReaderMode>
Copyright © 2014–2016. All rights reserved.