|
ProGuard | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectproguard.optimize.evaluation.value.ReferenceValueFactory
This class provides methods to create and reuse ReferenceValue objects.
| Constructor Summary | |
ReferenceValueFactory()
|
|
| Method Summary | |
static ReferenceValue |
create(boolean mayBeNull)
Creates a new ReferenceValue with an undefined value. |
static ReferenceValue |
create(ClassFile value,
boolean mayBeNull)
Creates a new ReferenceValue of a specific type. |
static ReferenceValue |
create(ClassFile value,
int dimension,
boolean mayBeNull)
Creates a new array ReferenceValue of a specific type and dimensionality. |
static ReferenceValue |
createNull()
Creates a new ReferenceValue that represents null. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ReferenceValueFactory()
| Method Detail |
public static ReferenceValue create(boolean mayBeNull)
public static ReferenceValue createNull()
null.
public static ReferenceValue create(ClassFile value,
boolean mayBeNull)
null, a ReferenceValue of an undefined type is returned.
public static ReferenceValue create(ClassFile value,
int dimension,
boolean mayBeNull)
null, a ReferenceValue of an undefined
type is returned. If the dimension is 0, a ReferenceValue of the given
type is returned.
|
ProGuard | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||