proguard.evaluation.value
Class IdentifiedValueFactory

java.lang.Object
  extended by proguard.evaluation.value.ValueFactory
      extended by proguard.evaluation.value.SpecificValueFactory
          extended by proguard.evaluation.value.IdentifiedValueFactory

public class IdentifiedValueFactory
extends SpecificValueFactory

This class provides methods to create and reuse IntegerValue objects.


Constructor Summary
IdentifiedValueFactory()
           
 
Method Summary
 DoubleValue createDoubleValue()
          Creates a new DoubleValue with an undefined value.
 FloatValue createFloatValue()
          Creates a new FloatValue with an undefined value.
 IntegerValue createIntegerValue()
          Creates a new IntegerValue with an undefined value.
 LongValue createLongValue()
          Creates a new LongValue with an undefined value.
 ReferenceValue createReferenceValue(java.lang.String type, Clazz referencedClass, boolean mayBeNull)
          Creates a new ReferenceValue of the given type.
 
Methods inherited from class proguard.evaluation.value.SpecificValueFactory
createDoubleValue, createFloatValue, createIntegerValue, createLongValue
 
Methods inherited from class proguard.evaluation.value.ValueFactory
createArrayReferenceValue, createArrayReferenceValue, createReferenceValueNull, createValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentifiedValueFactory

public IdentifiedValueFactory()
Method Detail

createIntegerValue

public IntegerValue createIntegerValue()
Description copied from class: ValueFactory
Creates a new IntegerValue with an undefined value.

Overrides:
createIntegerValue in class ValueFactory

createLongValue

public LongValue createLongValue()
Description copied from class: ValueFactory
Creates a new LongValue with an undefined value.

Overrides:
createLongValue in class ValueFactory

createFloatValue

public FloatValue createFloatValue()
Description copied from class: ValueFactory
Creates a new FloatValue with an undefined value.

Overrides:
createFloatValue in class ValueFactory

createDoubleValue

public DoubleValue createDoubleValue()
Description copied from class: ValueFactory
Creates a new DoubleValue with an undefined value.

Overrides:
createDoubleValue in class ValueFactory

createReferenceValue

public ReferenceValue createReferenceValue(java.lang.String type,
                                           Clazz referencedClass,
                                           boolean mayBeNull)
Description copied from class: ValueFactory
Creates a new ReferenceValue of the given type. The type must be an internal class name or an array type. If the type is null, the ReferenceValue represents null.

Overrides:
createReferenceValue in class ValueFactory