类 org.eclipse.jdt.internal.compiler.impl.Constant
的使用

使用 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.compiler.astConstant 的使用
 

声明为 Constantorg.eclipse.jdt.internal.compiler.ast 中的字段
 Constant Expression.constant
           
 Constant UnaryExpression.optimizedBooleanConstant
           
 Constant ConditionalExpression.optimizedBooleanConstant
           
 Constant BinaryExpression.optimizedBooleanConstant
           
 Constant ConditionalExpression.optimizedIfFalseConstant
           
 Constant ConditionalExpression.optimizedIfTrueConstant
           
 

返回 Constantorg.eclipse.jdt.internal.compiler.ast 中的方法
 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.
 

参数类型为 Constantorg.eclipse.jdt.internal.compiler.ast 中的方法
static boolean Expression.isConstantValueRepresentable(Constant constant, int constantTypeID, int targetTypeID)
           
 

org.eclipse.jdt.internal.compiler.classfmtConstant 的使用
 

声明为 Constantorg.eclipse.jdt.internal.compiler.classfmt 中的字段
protected  Constant FieldInfo.constant
           
 

返回 Constantorg.eclipse.jdt.internal.compiler.classfmt 中的方法
 Constant FieldInfo.getConstant()
          Return the constant of the field.
 

org.eclipse.jdt.internal.compiler.codegenConstant 的使用
 

参数类型为 Constantorg.eclipse.jdt.internal.compiler.codegen 中的方法
 void CodeStream.generateConstant(Constant constant, int implicitConversionCode)
           
 

org.eclipse.jdt.internal.compiler.envConstant 的使用
 

返回 Constantorg.eclipse.jdt.internal.compiler.env 中的方法
 Constant IBinaryField.getConstant()
           
 

org.eclipse.jdt.internal.compiler.implConstant 的使用
 

org.eclipse.jdt.internal.compiler.implConstant 的子类
 class BooleanConstant
           
 class ByteConstant
           
 class CharConstant
           
 class DoubleConstant
           
 class FloatConstant
           
 class IntConstant
           
 class LongConstant
           
 class ShortConstant
           
 class StringConstant
           
 

声明为 Constantorg.eclipse.jdt.internal.compiler.impl 中的字段
static Constant Constant.NotAConstant
           
 

返回 Constantorg.eclipse.jdt.internal.compiler.impl 中的方法
 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 BooleanConstant.fromValue(boolean value)
           
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(String value)
           
 

参数类型为 Constantorg.eclipse.jdt.internal.compiler.impl 中的方法
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
 

org.eclipse.jdt.internal.compiler.lookupConstant 的使用
 

声明为 Constantorg.eclipse.jdt.internal.compiler.lookup 中的字段
protected  Constant VariableBinding.constant
           
 

返回 Constantorg.eclipse.jdt.internal.compiler.lookup 中的方法
 Constant VariableBinding.constant()
           
 Constant ParameterizedFieldBinding.constant()
           
 Constant FieldBinding.constant()
           
 

参数类型为 Constantorg.eclipse.jdt.internal.compiler.lookup 中的方法
 void VariableBinding.setConstant(Constant constant)
           
 void ParameterizedFieldBinding.setConstant(Constant constant)
           
 

参数类型为 Constantorg.eclipse.jdt.internal.compiler.lookup 中的构造方法
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)
           
 



Copyright © 2013. All Rights Reserved.