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 TypeFieldDescriptionCaseStatement.LabelExpression.constantExpression.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()Methods in org.aspectj.org.eclipse.jdt.internal.compiler.ast with parameters of type ConstantModifier and TypeMethodDescriptionstatic final 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 final ConstantConstant.NotAConstantstatic final Constant[]Constant.NotAConstantListMethods in org.aspectj.org.eclipse.jdt.internal.compiler.impl that return ConstantModifier and TypeMethodDescriptionfinal ConstantConstant.castTo(int conversionToTargetType) static final ConstantConstant.computeConstantOperation(Constant cst, int id, int operator) static final ConstantConstant.computeConstantOperation(Constant left, int leftId, int operator, Constant right, int rightId) static final ConstantConstant.computeConstantOperationAND(Constant left, int leftId, Constant right, int rightId) static final ConstantConstant.computeConstantOperationAND_AND(Constant left, int leftId, Constant right, int rightId) static final ConstantConstant.computeConstantOperationDIVIDE(Constant left, int leftId, Constant right, int rightId) static final ConstantConstant.computeConstantOperationEQUAL_EQUAL(Constant left, int leftId, Constant right, int rightId) static final ConstantConstant.computeConstantOperationGREATER(Constant left, int leftId, Constant right, int rightId) static final ConstantConstant.computeConstantOperationGREATER_EQUAL(Constant left, int leftId, Constant right, int rightId) static final ConstantConstant.computeConstantOperationLEFT_SHIFT(Constant left, int leftId, Constant right, int rightId) static final ConstantConstant.computeConstantOperationLESS(Constant left, int leftId, Constant right, int rightId) static final ConstantConstant.computeConstantOperationLESS_EQUAL(Constant left, int leftId, Constant right, int rightId) static final ConstantConstant.computeConstantOperationMINUS(Constant left, int leftId, Constant right, int rightId) static final ConstantConstant.computeConstantOperationMULTIPLY(Constant left, int leftId, Constant right, int rightId) static final ConstantConstant.computeConstantOperationOR(Constant left, int leftId, Constant right, int rightId) static final ConstantConstant.computeConstantOperationOR_OR(Constant left, int leftId, Constant right, int rightId) static final ConstantConstant.computeConstantOperationPLUS(Constant left, int leftId, Constant right, int rightId) static final ConstantConstant.computeConstantOperationREMAINDER(Constant left, int leftId, Constant right, int rightId) static final ConstantConstant.computeConstantOperationRIGHT_SHIFT(Constant left, int leftId, Constant right, int rightId) static final ConstantConstant.computeConstantOperationUNSIGNED_RIGHT_SHIFT(Constant left, int leftId, Constant right, int rightId) static final 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 final ConstantConstant.computeConstantOperation(Constant cst, int id, int operator) static final ConstantConstant.computeConstantOperation(Constant left, int leftId, int operator, Constant right, int rightId) static final ConstantConstant.computeConstantOperationAND(Constant left, int leftId, Constant right, int rightId) static final ConstantConstant.computeConstantOperationAND_AND(Constant left, int leftId, Constant right, int rightId) static final ConstantConstant.computeConstantOperationDIVIDE(Constant left, int leftId, Constant right, int rightId) static final ConstantConstant.computeConstantOperationEQUAL_EQUAL(Constant left, int leftId, Constant right, int rightId) static final ConstantConstant.computeConstantOperationGREATER(Constant left, int leftId, Constant right, int rightId) static final ConstantConstant.computeConstantOperationGREATER_EQUAL(Constant left, int leftId, Constant right, int rightId) static final ConstantConstant.computeConstantOperationLEFT_SHIFT(Constant left, int leftId, Constant right, int rightId) static final ConstantConstant.computeConstantOperationLESS(Constant left, int leftId, Constant right, int rightId) static final ConstantConstant.computeConstantOperationLESS_EQUAL(Constant left, int leftId, Constant right, int rightId) static final ConstantConstant.computeConstantOperationMINUS(Constant left, int leftId, Constant right, int rightId) static final ConstantConstant.computeConstantOperationMULTIPLY(Constant left, int leftId, Constant right, int rightId) static final ConstantConstant.computeConstantOperationOR(Constant left, int leftId, Constant right, int rightId) static final ConstantConstant.computeConstantOperationOR_OR(Constant left, int leftId, Constant right, int rightId) static final ConstantConstant.computeConstantOperationPLUS(Constant left, int leftId, Constant right, int rightId) static final ConstantConstant.computeConstantOperationREMAINDER(Constant left, int leftId, Constant right, int rightId) static final ConstantConstant.computeConstantOperationRIGHT_SHIFT(Constant left, int leftId, Constant right, int rightId) static final ConstantConstant.computeConstantOperationUNSIGNED_RIGHT_SHIFT(Constant left, int leftId, Constant right, int rightId) static final 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()ParameterizedRecordComponentBinding.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) voidParameterizedRecordComponentBinding.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.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)