Uses of Class
org.eclipse.jdt.internal.compiler.impl.Constant

Packages that use Constant
org.eclipse.jdt.internal.compiler.ast   
org.eclipse.jdt.internal.compiler.classfmt   
org.eclipse.jdt.internal.compiler.codegen   
org.eclipse.jdt.internal.compiler.env   
org.eclipse.jdt.internal.compiler.impl   
org.eclipse.jdt.internal.compiler.lookup   
org.eclipse.jdt.internal.core.util   
 

Uses of Constant in org.eclipse.jdt.internal.compiler.ast
 

Fields in org.eclipse.jdt.internal.compiler.ast declared as Constant
 Constant Expression.constant
           
 Constant UnaryExpression.optimizedBooleanConstant
           
 Constant ConditionalExpression.optimizedBooleanConstant
           
 Constant BinaryExpression.optimizedBooleanConstant
           
 Constant ConditionalExpression.optimizedIfFalseConstant
           
 Constant ConditionalExpression.optimizedIfTrueConstant
           
 

Methods in org.eclipse.jdt.internal.compiler.ast that return Constant
 Constant UnaryExpression.optimizedBooleanConstant()
           
 Constant QualifiedNameReference.optimizedBooleanConstant()
           
 Constant FieldReference.optimizedBooleanConstant()
           
 Constant Expression.optimizedBooleanConstant()
          Constant usable for bytecode pattern optimizations, but cannot be inlined since it is not strictly equivalent to the definition of constant expressions.
 Constant ConditionalExpression.optimizedBooleanConstant()
           
 Constant CastExpression.optimizedBooleanConstant()
           
 Constant BinaryExpression.optimizedBooleanConstant()
           
 Constant Statement.resolveCase(BlockScope scope, TypeBinding testType, SwitchStatement switchStatement)
          Returns case constant associated to this statement (NotAConstant if none)
 Constant CaseStatement.resolveCase(BlockScope scope, TypeBinding switchExpressionType, SwitchStatement switchStatement)
          Returns the constant intValue or ordinal for enum constants.
 

Methods in org.eclipse.jdt.internal.compiler.ast with parameters of type Constant
static boolean Expression.isConstantValueRepresentable(Constant constant, int constantTypeID, int targetTypeID)
           
 

Uses of Constant in org.eclipse.jdt.internal.compiler.classfmt
 

Methods in org.eclipse.jdt.internal.compiler.classfmt that return Constant
 Constant FieldInfo.getConstant()
          Return the constant of the field.
 

Uses of Constant in org.eclipse.jdt.internal.compiler.codegen
 

Methods in org.eclipse.jdt.internal.compiler.codegen with parameters of type Constant
 void CodeStream.generateConstant(Constant constant, int implicitConversionCode)
           
 

Uses of Constant in org.eclipse.jdt.internal.compiler.env
 

Methods in org.eclipse.jdt.internal.compiler.env that return Constant
 Constant IBinaryField.getConstant()
           
 

Uses of Constant in org.eclipse.jdt.internal.compiler.impl
 

Subclasses of Constant in org.eclipse.jdt.internal.compiler.impl
 class BooleanConstant
           
 class ByteConstant
           
 class CharConstant
           
 class DoubleConstant
           
 class FloatConstant
           
 class IntConstant
           
 class LongConstant
           
 class ShortConstant
           
 class StringConstant
           
 

Fields in org.eclipse.jdt.internal.compiler.impl declared as Constant
static Constant Constant.NotAConstant
           
 

Methods in org.eclipse.jdt.internal.compiler.impl that return Constant
 Constant Constant.castTo(int conversionToTargetType)
           
static Constant Constant.computeConstantOperation(Constant cst, int id, int operator)
           
static Constant Constant.computeConstantOperation(Constant left, int leftId, int operator, Constant right, int rightId)
           
static Constant Constant.computeConstantOperationAND_AND(Constant left, int leftId, Constant right, int rightId)
           
static Constant Constant.computeConstantOperationAND(Constant left, int leftId, Constant right, int rightId)
           
static Constant Constant.computeConstantOperationDIVIDE(Constant left, int leftId, Constant right, int rightId)
           
static Constant Constant.computeConstantOperationEQUAL_EQUAL(Constant left, int leftId, Constant right, int rightId)
           
static Constant Constant.computeConstantOperationGREATER_EQUAL(Constant left, int leftId, Constant right, int rightId)
           
static Constant Constant.computeConstantOperationGREATER(Constant left, int leftId, Constant right, int rightId)
           
static Constant Constant.computeConstantOperationLEFT_SHIFT(Constant left, int leftId, Constant right, int rightId)
           
static Constant Constant.computeConstantOperationLESS_EQUAL(Constant left, int leftId, Constant right, int rightId)
           
static Constant Constant.computeConstantOperationLESS(Constant left, int leftId, Constant right, int rightId)
           
static Constant Constant.computeConstantOperationMINUS(Constant left, int leftId, Constant right, int rightId)
           
static Constant Constant.computeConstantOperationMULTIPLY(Constant left, int leftId, Constant right, int rightId)
           
static Constant Constant.computeConstantOperationOR_OR(Constant left, int leftId, Constant right, int rightId)
           
static Constant Constant.computeConstantOperationOR(Constant left, int leftId, Constant right, int rightId)
           
static Constant Constant.computeConstantOperationPLUS(Constant left, int leftId, Constant right, int rightId)
           
static Constant Constant.computeConstantOperationREMAINDER(Constant left, int leftId, Constant right, int rightId)
           
static Constant Constant.computeConstantOperationRIGHT_SHIFT(Constant left, int leftId, Constant right, int rightId)
           
static Constant Constant.computeConstantOperationUNSIGNED_RIGHT_SHIFT(Constant left, int leftId, Constant right, int rightId)
           
static Constant Constant.computeConstantOperationXOR(Constant left, int leftId, Constant right, int rightId)
           
static Constant ByteConstant.fromValue(byte value)
           
static Constant CharConstant.fromValue(char value)
           
static Constant DoubleConstant.fromValue(double value)
           
static Constant FloatConstant.fromValue(float value)
           
static Constant IntConstant.fromValue(int value)
           
static Constant LongConstant.fromValue(long value)
           
static Constant ShortConstant.fromValue(short value)
           
static Constant StringConstant.fromValue(java.lang.String value)
           
 

Methods in org.eclipse.jdt.internal.compiler.impl with parameters of type Constant
static Constant Constant.computeConstantOperation(Constant cst, int id, int operator)
           
static Constant Constant.computeConstantOperation(Constant left, int leftId, int operator, Constant right, int rightId)
           
static Constant Constant.computeConstantOperationAND_AND(Constant left, int leftId, Constant right, int rightId)
           
static Constant Constant.computeConstantOperationAND(Constant left, int leftId, Constant right, int rightId)
           
static Constant Constant.computeConstantOperationDIVIDE(Constant left, int leftId, Constant right, int rightId)
           
static Constant Constant.computeConstantOperationEQUAL_EQUAL(Constant left, int leftId, Constant right, int rightId)
           
static Constant Constant.computeConstantOperationGREATER_EQUAL(Constant left, int leftId, Constant right, int rightId)
           
static Constant Constant.computeConstantOperationGREATER(Constant left, int leftId, Constant right, int rightId)
           
static Constant Constant.computeConstantOperationLEFT_SHIFT(Constant left, int leftId, Constant right, int rightId)
           
static Constant Constant.computeConstantOperationLESS_EQUAL(Constant left, int leftId, Constant right, int rightId)
           
static Constant Constant.computeConstantOperationLESS(Constant left, int leftId, Constant right, int rightId)
           
static Constant Constant.computeConstantOperationMINUS(Constant left, int leftId, Constant right, int rightId)
           
static Constant Constant.computeConstantOperationMULTIPLY(Constant left, int leftId, Constant right, int rightId)
           
static Constant Constant.computeConstantOperationOR_OR(Constant left, int leftId, Constant right, int rightId)
           
static Constant Constant.computeConstantOperationOR(Constant left, int leftId, Constant right, int rightId)
           
static Constant Constant.computeConstantOperationPLUS(Constant left, int leftId, Constant right, int rightId)
           
static Constant Constant.computeConstantOperationREMAINDER(Constant left, int leftId, Constant right, int rightId)
           
static Constant Constant.computeConstantOperationRIGHT_SHIFT(Constant left, int leftId, Constant right, int rightId)
           
static Constant Constant.computeConstantOperationUNSIGNED_RIGHT_SHIFT(Constant left, int leftId, Constant right, int rightId)
           
static Constant Constant.computeConstantOperationXOR(Constant left, int leftId, Constant right, int rightId)
           
 boolean Constant.hasSameValue(Constant otherConstant)
          Returns true if both constants have the same type and the same actual value
 

Uses of Constant in org.eclipse.jdt.internal.compiler.lookup
 

Methods in org.eclipse.jdt.internal.compiler.lookup that return Constant
 Constant VariableBinding.constant()
           
 Constant ParameterizedFieldBinding.constant()
           
 Constant FieldBinding.constant()
           
 

Methods in org.eclipse.jdt.internal.compiler.lookup with parameters of type Constant
 void VariableBinding.setConstant(Constant constant)
           
 void ParameterizedFieldBinding.setConstant(Constant constant)
           
 

Constructors in org.eclipse.jdt.internal.compiler.lookup with parameters of type Constant
FieldBinding(char[] name, TypeBinding type, int modifiers, ReferenceBinding declaringClass, Constant constant)
           
SyntheticFieldBinding(char[] name, TypeBinding type, int modifiers, ReferenceBinding declaringClass, Constant constant, int index)
           
VariableBinding(char[] name, TypeBinding type, int modifiers, Constant constant)
           
 

Uses of Constant in org.eclipse.jdt.internal.core.util
 

Methods in org.eclipse.jdt.internal.core.util with parameters of type Constant
static java.lang.Object Util.getAnnotationMemberValue(MemberValuePair memberValuePair, Constant constant)