Uses of Class
org.aspectj.org.eclipse.jdt.internal.compiler.impl.Constant
Packages that use Constant
Package
Description
-
Uses of Constant in org.aspectj.org.eclipse.jdt.internal.compiler.ast
Fields in org.aspectj.org.eclipse.jdt.internal.compiler.ast declared as ConstantModifier and TypeFieldDescriptionExpression.constantBinaryExpression.optimizedBooleanConstantConditionalExpression.optimizedBooleanConstantUnaryExpression.optimizedBooleanConstantConditionalExpression.optimizedIfFalseConstantConditionalExpression.optimizedIfTrueConstantMethods in org.aspectj.org.eclipse.jdt.internal.compiler.ast that return ConstantModifier and TypeMethodDescriptionBinaryExpression.optimizedBooleanConstant()CastExpression.optimizedBooleanConstant()ConditionalExpression.optimizedBooleanConstant()Expression.optimizedBooleanConstant()Constant usable for bytecode pattern optimizations, but cannot be inlined since it is not strictly equivalent to the definition of constant expressions.FieldReference.optimizedBooleanConstant()QualifiedNameReference.optimizedBooleanConstant()UnaryExpression.optimizedBooleanConstant()protected ConstantEqualExpression.optimizedNullComparisonConstant()protected ConstantExpression.optimizedNullComparisonConstant()Constant[]CaseStatement.resolveCase(BlockScope scope, TypeBinding switchExpressionType, SwitchStatement switchStatement)Returns the constant intValue or ordinal for enum constants.Constant[]Statement.resolveCase(BlockScope scope, TypeBinding testType, SwitchStatement switchStatement)Returns case constant associated to this statement (NotAConstant if none) parameter statement has to be either a SwitchStatement or a SwitchExpressionCaseStatement.resolveConstantExpression(BlockScope scope, TypeBinding caseType, TypeBinding switchExpressionType, SwitchStatement switchStatement, Expression expression)Methods in org.aspectj.org.eclipse.jdt.internal.compiler.ast with parameters of type ConstantModifier and TypeMethodDescriptionstatic booleanExpression.isConstantValueRepresentable(Constant constant, int constantTypeID, int targetTypeID) -
Uses of Constant in org.aspectj.org.eclipse.jdt.internal.compiler.classfmt
Fields in org.aspectj.org.eclipse.jdt.internal.compiler.classfmt declared as ConstantMethods in org.aspectj.org.eclipse.jdt.internal.compiler.classfmt that return ConstantModifier and TypeMethodDescriptionFieldInfo.getConstant()Return the constant of the field.RecordComponentInfo.getConstant() -
Uses of Constant in org.aspectj.org.eclipse.jdt.internal.compiler.codegen
Methods in org.aspectj.org.eclipse.jdt.internal.compiler.codegen with parameters of type ConstantModifier and TypeMethodDescriptionvoidCodeStream.generateConstant(Constant constant, int implicitConversionCode) -
Uses of Constant in org.aspectj.org.eclipse.jdt.internal.compiler.env
Methods in org.aspectj.org.eclipse.jdt.internal.compiler.env that return Constant -
Uses of Constant in org.aspectj.org.eclipse.jdt.internal.compiler.impl
Subclasses of Constant in org.aspectj.org.eclipse.jdt.internal.compiler.implModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassFields in org.aspectj.org.eclipse.jdt.internal.compiler.impl declared as ConstantModifier and TypeFieldDescriptionstatic ConstantConstant.NotAConstantstatic Constant[]Constant.NotAConstantListMethods in org.aspectj.org.eclipse.jdt.internal.compiler.impl that return ConstantModifier and TypeMethodDescriptionConstant.castTo(int conversionToTargetType)static ConstantConstant.computeConstantOperation(Constant cst, int id, int operator)static ConstantConstant.computeConstantOperation(Constant left, int leftId, int operator, Constant right, int rightId)static ConstantConstant.computeConstantOperationAND(Constant left, int leftId, Constant right, int rightId)static ConstantConstant.computeConstantOperationAND_AND(Constant left, int leftId, Constant right, int rightId)static ConstantConstant.computeConstantOperationDIVIDE(Constant left, int leftId, Constant right, int rightId)static ConstantConstant.computeConstantOperationEQUAL_EQUAL(Constant left, int leftId, Constant right, int rightId)static ConstantConstant.computeConstantOperationGREATER(Constant left, int leftId, Constant right, int rightId)static ConstantConstant.computeConstantOperationGREATER_EQUAL(Constant left, int leftId, Constant right, int rightId)static ConstantConstant.computeConstantOperationLEFT_SHIFT(Constant left, int leftId, Constant right, int rightId)static ConstantConstant.computeConstantOperationLESS(Constant left, int leftId, Constant right, int rightId)static ConstantConstant.computeConstantOperationLESS_EQUAL(Constant left, int leftId, Constant right, int rightId)static ConstantConstant.computeConstantOperationMINUS(Constant left, int leftId, Constant right, int rightId)static ConstantConstant.computeConstantOperationMULTIPLY(Constant left, int leftId, Constant right, int rightId)static ConstantConstant.computeConstantOperationOR(Constant left, int leftId, Constant right, int rightId)static ConstantConstant.computeConstantOperationOR_OR(Constant left, int leftId, Constant right, int rightId)static ConstantConstant.computeConstantOperationPLUS(Constant left, int leftId, Constant right, int rightId)static ConstantConstant.computeConstantOperationREMAINDER(Constant left, int leftId, Constant right, int rightId)static ConstantConstant.computeConstantOperationRIGHT_SHIFT(Constant left, int leftId, Constant right, int rightId)static ConstantConstant.computeConstantOperationUNSIGNED_RIGHT_SHIFT(Constant left, int leftId, Constant right, int rightId)static ConstantConstant.computeConstantOperationXOR(Constant left, int leftId, Constant right, int rightId)static ConstantBooleanConstant.fromValue(boolean value)static ConstantByteConstant.fromValue(byte value)static ConstantCharConstant.fromValue(char value)static ConstantDoubleConstant.fromValue(double value)static ConstantFloatConstant.fromValue(float value)static ConstantIntConstant.fromValue(int value)static ConstantLongConstant.fromValue(long value)static ConstantShortConstant.fromValue(short value)static ConstantMethods in org.aspectj.org.eclipse.jdt.internal.compiler.impl with parameters of type ConstantModifier and TypeMethodDescriptionstatic ConstantConstant.computeConstantOperation(Constant cst, int id, int operator)static ConstantConstant.computeConstantOperation(Constant left, int leftId, int operator, Constant right, int rightId)static ConstantConstant.computeConstantOperationAND(Constant left, int leftId, Constant right, int rightId)static ConstantConstant.computeConstantOperationAND_AND(Constant left, int leftId, Constant right, int rightId)static ConstantConstant.computeConstantOperationDIVIDE(Constant left, int leftId, Constant right, int rightId)static ConstantConstant.computeConstantOperationEQUAL_EQUAL(Constant left, int leftId, Constant right, int rightId)static ConstantConstant.computeConstantOperationGREATER(Constant left, int leftId, Constant right, int rightId)static ConstantConstant.computeConstantOperationGREATER_EQUAL(Constant left, int leftId, Constant right, int rightId)static ConstantConstant.computeConstantOperationLEFT_SHIFT(Constant left, int leftId, Constant right, int rightId)static ConstantConstant.computeConstantOperationLESS(Constant left, int leftId, Constant right, int rightId)static ConstantConstant.computeConstantOperationLESS_EQUAL(Constant left, int leftId, Constant right, int rightId)static ConstantConstant.computeConstantOperationMINUS(Constant left, int leftId, Constant right, int rightId)static ConstantConstant.computeConstantOperationMULTIPLY(Constant left, int leftId, Constant right, int rightId)static ConstantConstant.computeConstantOperationOR(Constant left, int leftId, Constant right, int rightId)static ConstantConstant.computeConstantOperationOR_OR(Constant left, int leftId, Constant right, int rightId)static ConstantConstant.computeConstantOperationPLUS(Constant left, int leftId, Constant right, int rightId)static ConstantConstant.computeConstantOperationREMAINDER(Constant left, int leftId, Constant right, int rightId)static ConstantConstant.computeConstantOperationRIGHT_SHIFT(Constant left, int leftId, Constant right, int rightId)static ConstantConstant.computeConstantOperationUNSIGNED_RIGHT_SHIFT(Constant left, int leftId, Constant right, int rightId)static ConstantConstant.computeConstantOperationXOR(Constant left, int leftId, Constant right, int rightId)booleanConstant.hasSameValue(Constant otherConstant)Returns true if both constants have the same type and the same actual value -
Uses of Constant in org.aspectj.org.eclipse.jdt.internal.compiler.lookup
Fields in org.aspectj.org.eclipse.jdt.internal.compiler.lookup declared as ConstantMethods in org.aspectj.org.eclipse.jdt.internal.compiler.lookup that return ConstantModifier and TypeMethodDescriptionFieldBinding.constant()ParameterizedFieldBinding.constant()VariableBinding.constant()Call this variant during resolve / analyse, so we can handle the case when a tentative lambda resolve triggers resolving of outside code.Methods in org.aspectj.org.eclipse.jdt.internal.compiler.lookup with parameters of type ConstantModifier and TypeMethodDescriptionvoidParameterizedFieldBinding.setConstant(Constant constant)voidVariableBinding.setConstant(Constant constant)Constructors in org.aspectj.org.eclipse.jdt.internal.compiler.lookup with parameters of type ConstantModifierConstructorDescriptionFieldBinding(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.aspectj.org.eclipse.jdt.internal.core
Methods in org.aspectj.org.eclipse.jdt.internal.core with parameters of type ConstantModifier and TypeMethodDescriptionprotected static ObjectMember.convertConstant(Constant constant)Converts a field constant from the compiler's representation to the Java Model constant representation (Number or String). -
Uses of Constant in org.aspectj.org.eclipse.jdt.internal.core.nd.java
Methods in org.aspectj.org.eclipse.jdt.internal.core.nd.java that return ConstantModifier and TypeMethodDescriptionabstract ConstantNdConstant.getConstant()Returns theConstantcorresponding to the value of thisNdConstantor null if the receiver corresponds to aConstant.NdConstantAnnotation.getConstant()NdConstantArray.getConstant()NdConstantBoolean.getConstant()NdConstantByte.getConstant()NdConstantChar.getConstant()NdConstantClass.getConstant()NdConstantDouble.getConstant()NdConstantEnum.getConstant()NdConstantFloat.getConstant()NdConstantInt.getConstant()NdConstantLong.getConstant()NdConstantShort.getConstant()NdConstantString.getConstant()Methods in org.aspectj.org.eclipse.jdt.internal.core.nd.java with parameters of type Constant -
Uses of Constant in org.aspectj.org.eclipse.jdt.internal.core.nd.java.model
Methods in org.aspectj.org.eclipse.jdt.internal.core.nd.java.model that return ConstantConstructors in org.aspectj.org.eclipse.jdt.internal.core.nd.java.model with parameters of type ConstantModifierConstructorDescriptionIndexBinaryField(IBinaryAnnotation[] annotations, Constant constant, char[] genericSignature, int modifiers, char[] name, long tagBits, IBinaryTypeAnnotation[] typeAnnotations, char[] fieldDescriptor) -
Uses of Constant in org.aspectj.org.eclipse.jdt.internal.core.util
Methods in org.aspectj.org.eclipse.jdt.internal.core.util with parameters of type ConstantModifier and TypeMethodDescriptionstatic ObjectUtil.getAnnotationMemberValue(MemberValuePair memberValuePair, Constant constant)static ObjectUtil.getNegativeAnnotationMemberValue(MemberValuePair memberValuePair, Constant constant)