|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectVarInfoAux
public final class VarInfoAux
Represents additional information about a VarInfo that frontends tell Daikon. For example, whether order matters in a collection. This is immutable and interned.
| Field Summary | |
|---|---|
static Logger |
debug
General debug tracer. |
static String |
FALSE
|
static String |
HAS_DUPLICATES
Whether repeated elements can exist in this collection. |
static String |
HAS_NULL
Whether null has a special meaning for this variable or its members. |
static String |
HAS_ORDER
Whether order matters. |
static String |
HAS_SIZE
Whether taking the size of this matters. |
static String |
IS_PARAM
Whether this variable is a parameter to a method, or derived from a parameter to a method. |
static String |
IS_STRUCT
Whether this variable is an inline structure or a reference to a structure (class). |
static String |
NO_PACKAGE_NAME
|
static String |
NULL_TERMINATING
Whether the elements in this collection are all the meaningful elements, or whether there is a null at the end of this collection that ends the collection. |
static String |
PACKAGE_NAME
Java-specific. |
static String |
TRUE
|
| Method Summary | |
|---|---|
VarInfoAux |
clone()
Creates and returns a copy of this. |
boolean |
equals(Object o)
|
boolean |
equals(VarInfoAux o)
|
static VarInfoAux |
getDefault()
Create a new VarInfoAux with default options. |
boolean |
getFlag(String key)
|
String |
getValue(String key)
Returns the value for the given key. |
int |
hashCode()
|
boolean |
isParam()
Returns whether or not this is a parameter |
static VarInfoAux |
parse(String inString)
Return an interned VarInfoAux that represents a given string. |
VarInfoAux |
setValue(String key,
String value)
Return a new VarInfoAux with the desired value set. |
String |
toString()
|
| Methods inherited from class Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Logger debug
public static final String NULL_TERMINATING
public static final String IS_PARAM
public static final String HAS_DUPLICATES
public static final String HAS_ORDER
public static final String HAS_SIZE
public static final String PACKAGE_NAME
public static final String NO_PACKAGE_NAME
public static final String HAS_NULL
public static final String TRUE
public static final String FALSE
public static final String IS_STRUCT
| Method Detail |
|---|
public static VarInfoAux parse(String inString)
throws IOException
IOExceptionpublic static VarInfoAux getDefault()
public VarInfoAux clone()
throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object o)
equals in class Objectpublic boolean equals(VarInfoAux o)
public String getValue(String key)
public boolean getFlag(String key)
public boolean isParam()
public VarInfoAux setValue(String key,
String value)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||