Class Error


  • final class Error
    extends java.lang.Object
    • Constructor Detail

      • Error

        private Error()
    • Method Detail

      • extensionMustOverride

        public static java.lang.IllegalStateException extensionMustOverride​(java.lang.String memberName)
      • reducibleMustOverride

        public static java.lang.IllegalStateException reducibleMustOverride​(java.lang.String memberName)
      • memberNotField

        public static java.lang.IllegalStateException memberNotField​(MemberInfo member)
      • mustBeReducible

        public static java.lang.IllegalStateException mustBeReducible()
      • mustReduceToDifferent

        public static java.lang.IllegalStateException mustReduceToDifferent()
      • reducedNotCompatible

        public static java.lang.IllegalStateException reducedNotCompatible()
      • argumentTypesMustMatch

        public static java.lang.IllegalStateException argumentTypesMustMatch()
      • argumentCannotBeOfTypeVoid

        public static java.lang.IllegalStateException argumentCannotBeOfTypeVoid()
      • expressionMustBeWriteable

        public static java.lang.IllegalStateException expressionMustBeWriteable​(java.lang.String parameterName)
      • expressionMustBeReadable

        public static java.lang.IllegalStateException expressionMustBeReadable​(java.lang.String parameterName)
      • mustRewriteChildToSameType

        public static java.lang.IllegalStateException mustRewriteChildToSameType​(Type before,
                                                                                 Type after,
                                                                                 java.lang.String callerName)
      • mustRewriteWithoutMethod

        public static java.lang.IllegalStateException mustRewriteWithoutMethod​(MethodBase method,
                                                                               java.lang.String callerName)
      • mustRewriteToSameNode

        public static <T extends Expression> java.lang.IllegalStateException mustRewriteToSameNode​(java.lang.String callerName,
                                                                                                   java.lang.Class<T> type,
                                                                                                   java.lang.String overrideMethodName)
      • unhandledUnary

        public static java.lang.IllegalStateException unhandledUnary​(ExpressionType unaryType)
      • unhandledBinary

        public static java.lang.IllegalStateException unhandledBinary​(ExpressionType binaryType)
      • unmodifiableCollection

        public static java.lang.IllegalStateException unmodifiableCollection()
      • duplicateVariable

        public static java.lang.IllegalStateException duplicateVariable​(ParameterExpression variable)
      • unaryOperatorNotDefined

        public static java.lang.IllegalStateException unaryOperatorNotDefined​(ExpressionType operator,
                                                                              Type operandType)
      • operatorMethodMustNotBeStatic

        public static java.lang.IllegalStateException operatorMethodMustNotBeStatic​(MethodBase method)
      • operatorMethodMustNotReturnVoid

        public static java.lang.IllegalStateException operatorMethodMustNotReturnVoid​(MethodBase method)
      • operatorMethodParametersMustMatchReturnValue

        public static java.lang.IllegalStateException operatorMethodParametersMustMatchReturnValue​(MethodBase method)
      • returnTypeDoesNotMatchOperandType

        public static java.lang.IllegalStateException returnTypeDoesNotMatchOperandType​(ExpressionType expressionType,
                                                                                        MethodBase method)
      • returnTypeDoesNotMatchOperandType

        public static java.lang.IllegalStateException returnTypeDoesNotMatchOperandType​(MethodBase method)
      • incorrectNumberOfConstructorArguments

        public static java.lang.IllegalStateException incorrectNumberOfConstructorArguments()
      • couldNotResolveConstructor

        public static java.lang.IllegalStateException couldNotResolveConstructor​(Type<?> type,
                                                                                 Type<?>... parameterTypes)
      • incorrectNumberOfLambdaArguments

        public static java.lang.IllegalStateException incorrectNumberOfLambdaArguments()
      • incorrectNumberOfLambdaDeclarationParameters

        public static java.lang.IllegalStateException incorrectNumberOfLambdaDeclarationParameters()
      • incorrectNumberOfMethodCallArguments

        public static java.lang.IllegalStateException incorrectNumberOfMethodCallArguments​(MethodBase method)
      • invalidUnboxType

        public static java.lang.IllegalStateException invalidUnboxType()
      • unboxNotDefined

        public static java.lang.IllegalArgumentException unboxNotDefined​(Type<?> boxedType,
                                                                         Type<?> unboxedType)
      • invalidBoxType

        public static java.lang.IllegalStateException invalidBoxType()
      • argumentMustBeArray

        public static java.lang.IllegalStateException argumentMustBeArray()
      • argumentMustBeBoolean

        public static java.lang.IllegalStateException argumentMustBeBoolean()
      • argumentMustBeInteger

        public static java.lang.IllegalStateException argumentMustBeInteger()
      • argumentMustBeIntegral

        public static java.lang.IllegalStateException argumentMustBeIntegral()
      • coercionOperatorNotDefined

        public static java.lang.IllegalStateException coercionOperatorNotDefined​(Type sourceType,
                                                                                 Type destinationType)
      • argumentMustNotHaveValueType

        public static java.lang.IllegalArgumentException argumentMustNotHaveValueType()
      • argumentMustBeThrowable

        public static java.lang.IllegalArgumentException argumentMustBeThrowable()
      • methodBasedOperatorMustHaveValidReturnType

        public static java.lang.IllegalStateException methodBasedOperatorMustHaveValidReturnType​(MethodBase method)
      • methodBasedOperatorMustHaveValidReturnType

        public static java.lang.IllegalStateException methodBasedOperatorMustHaveValidReturnType​(ExpressionType operator,
                                                                                                 MethodBase method)
      • expressionTypeNotInvokable

        public static java.lang.IllegalStateException expressionTypeNotInvokable​(Type type)
      • binaryOperatorNotDefined

        public static java.lang.IllegalStateException binaryOperatorNotDefined​(ExpressionType operator,
                                                                               Type leftType,
                                                                               Type rightType)
      • referenceEqualityNotDefined

        public static java.lang.IllegalStateException referenceEqualityNotDefined​(Type leftType,
                                                                                  Type rightType)
      • invalidOperator

        public static java.lang.IllegalStateException invalidOperator​(ExpressionType operator)
      • targetRequiredForNonStaticMethodCall

        public static java.lang.IllegalStateException targetRequiredForNonStaticMethodCall​(MethodBase method)
      • targetRequiredForNonStaticFieldAccess

        public static java.lang.IllegalStateException targetRequiredForNonStaticFieldAccess​(FieldInfo field)
      • targetInvalidForStaticFieldAccess

        public static java.lang.IllegalStateException targetInvalidForStaticFieldAccess​(FieldInfo field)
      • targetInvalidForStaticMethodCall

        public static java.lang.IllegalStateException targetInvalidForStaticMethodCall​(MethodBase method)
      • targetAndMethodTypeMismatch

        public static java.lang.IllegalStateException targetAndMethodTypeMismatch​(MethodBase method,
                                                                                  Type targetType)
      • expressionTypeDoesNotMatchParameter

        public static java.lang.IllegalStateException expressionTypeDoesNotMatchParameter​(Type argType,
                                                                                          Type parameterType)
      • expressionTypeDoesNotMatchReturn

        public static java.lang.IllegalStateException expressionTypeDoesNotMatchReturn​(Type bodyType,
                                                                                       Type returnType)
      • expressionTypeDoesNotMatchConstructorParameter

        public static java.lang.IllegalStateException expressionTypeDoesNotMatchConstructorParameter​(Type argType,
                                                                                                     Type parameterType)
      • expressionTypeDoesNotMatchMethodParameter

        public static java.lang.IllegalStateException expressionTypeDoesNotMatchMethodParameter​(Type argType,
                                                                                                Type parameterType,
                                                                                                MethodBase method)
      • expressionTypeDoesNotMatchAssignment

        public static java.lang.IllegalStateException expressionTypeDoesNotMatchAssignment​(Type leftType,
                                                                                           Type rightType)
      • methodDoesNotExistOnType

        public static java.lang.IllegalStateException methodDoesNotExistOnType​(java.lang.String methodName,
                                                                               Type type)
      • fieldDoesNotExistOnType

        public static java.lang.IllegalStateException fieldDoesNotExistOnType​(java.lang.String fieldName,
                                                                              Type type)
      • genericMethodWithArgsDoesNotExistOnType

        public static java.lang.IllegalStateException genericMethodWithArgsDoesNotExistOnType​(java.lang.String methodName,
                                                                                              Type type)
      • methodWithArgsDoesNotExistOnType

        public static java.lang.IllegalStateException methodWithArgsDoesNotExistOnType​(java.lang.String methodName,
                                                                                       Type type)
      • methodWithMoreThanOneMatch

        public static java.lang.IllegalStateException methodWithMoreThanOneMatch​(java.lang.String methodName,
                                                                                 Type type)
      • argumentMustBeArrayIndexType

        public static java.lang.IllegalStateException argumentMustBeArrayIndexType()
      • conversionIsNotSupportedForArithmeticTypes

        public static java.lang.IllegalStateException conversionIsNotSupportedForArithmeticTypes()
      • operandTypesDoNotMatchParameters

        public static java.lang.IllegalStateException operandTypesDoNotMatchParameters​(ExpressionType nodeType,
                                                                                       MethodBase method)
      • overloadOperatorTypeDoesNotMatchConversionType

        public static java.lang.IllegalStateException overloadOperatorTypeDoesNotMatchConversionType​(ExpressionType nodeType,
                                                                                                     MethodBase method)
      • lambdaTypeMustBeSingleMethodInterface

        public static java.lang.IllegalStateException lambdaTypeMustBeSingleMethodInterface()
      • parameterExpressionNotValidForDelegate

        public static java.lang.IllegalStateException parameterExpressionNotValidForDelegate​(Type parameterType,
                                                                                             Type delegateParameterType)
      • labelMustBeVoidOrHaveExpression

        public static java.lang.IllegalStateException labelMustBeVoidOrHaveExpression()
      • expressionTypeDoesNotMatchLabel

        public static java.lang.IllegalArgumentException expressionTypeDoesNotMatchLabel​(Type valueType,
                                                                                         Type expectedType)
      • expressionTypeCannotInitializeArrayType

        public static java.lang.IllegalArgumentException expressionTypeCannotInitializeArrayType​(Type itemType,
                                                                                                 Type arrayElementType)
      • catchVariableMustBeCompatibleWithCatchType

        public static java.lang.IllegalStateException catchVariableMustBeCompatibleWithCatchType​(Type catchType,
                                                                                                 Type variableType)
      • bodyOfCatchMustHaveSameTypeAsBodyOfTry

        public static java.lang.IllegalStateException bodyOfCatchMustHaveSameTypeAsBodyOfTry()
      • tryMustHaveCatchOrFinally

        public static java.lang.IllegalStateException tryMustHaveCatchOrFinally()
      • invalidLValue

        public static java.lang.IllegalStateException invalidLValue​(ExpressionType nodeType)
      • allCaseBodiesMustHaveSameType

        public static java.lang.IllegalStateException allCaseBodiesMustHaveSameType()
      • allTestValuesMustHaveTheSameType

        public static java.lang.IllegalStateException allTestValuesMustHaveTheSameType()
      • defaultBodyMustBeSupplied

        public static java.lang.IllegalStateException defaultBodyMustBeSupplied()
      • testValueTypeDoesNotMatchComparisonMethodParameter

        public static java.lang.IllegalStateException testValueTypeDoesNotMatchComparisonMethodParameter​(Type testValueType,
                                                                                                         Type parameterType)
      • equalityMustReturnBoolean

        public static java.lang.IllegalStateException equalityMustReturnBoolean​(MethodBase method)
      • cannotCompileConstant

        public static java.lang.IllegalStateException cannotCompileConstant​(java.lang.Object value)
      • undefinedVariable

        public static java.lang.IllegalStateException undefinedVariable​(java.lang.String name,
                                                                        Type type,
                                                                        java.lang.String currentLambdaName)
      • couldNotCreateDelegate

        public static java.lang.IllegalStateException couldNotCreateDelegate​(java.lang.Throwable t)
      • labelTargetAlreadyDefined

        public static java.lang.IllegalStateException labelTargetAlreadyDefined​(java.lang.String name)
      • ambiguousJump

        public static java.lang.IllegalStateException ambiguousJump​(java.lang.String name)
      • nonLocalJumpWithValue

        public static java.lang.IllegalStateException nonLocalJumpWithValue​(java.lang.String name)
      • controlCannotEnterExpression

        public static java.lang.IllegalStateException controlCannotEnterExpression()
      • controlCannotEnterTry

        public static java.lang.IllegalStateException controlCannotEnterTry()
      • labelTargetUndefined

        public static java.lang.IllegalStateException labelTargetUndefined​(java.lang.String name)
      • primitiveCannotBeTypeBinaryOperand

        public static java.lang.IllegalArgumentException primitiveCannotBeTypeBinaryOperand()
      • primitiveCannotBeTypeBinaryType

        public static java.lang.IllegalArgumentException primitiveCannotBeTypeBinaryType()
      • incorrectNumberOfIndexes

        public static java.lang.IllegalStateException incorrectNumberOfIndexes()
      • unexpectedCoalesceOperator

        public static java.lang.IllegalStateException unexpectedCoalesceOperator()
      • invalidMemberType

        public static java.lang.IllegalStateException invalidMemberType​(MemberType memberType)
      • andAlsoCannotProvideMethod

        public static java.lang.IllegalStateException andAlsoCannotProvideMethod()
      • orElseCannotProvideMethod

        public static java.lang.IllegalStateException orElseCannotProvideMethod()
      • coalesceUsedOnNonNullableType

        public static java.lang.IllegalStateException coalesceUsedOnNonNullableType()
      • extensionNotReduced

        public static java.lang.IllegalStateException extensionNotReduced()
      • tryNotAllowedInFilter

        public static java.lang.IllegalStateException tryNotAllowedInFilter()
      • argumentMustBeReferenceType

        public static java.lang.IllegalArgumentException argumentMustBeReferenceType()
      • initializerMustBeAssignableToVariable

        public static java.lang.IllegalArgumentException initializerMustBeAssignableToVariable()
      • testMustBeBooleanExpression

        public static java.lang.IllegalArgumentException testMustBeBooleanExpression()
      • continueTargetMustBeVoid

        public static java.lang.IllegalArgumentException continueTargetMustBeVoid()
      • cannotAccessThisFromStaticMember

        public static java.lang.IllegalStateException cannotAccessThisFromStaticMember()
      • incorrectlyTypedSelfExpression

        public static java.lang.IllegalStateException incorrectlyTypedSelfExpression​(Type<?> expected,
                                                                                     Type<?> actual)
      • incorrectlyTypedSuperExpression

        public static java.lang.IllegalStateException incorrectlyTypedSuperExpression​(Type<?> expected,
                                                                                      Type<?> actual)
      • twoOrMoreOperandsRequired

        public static java.lang.IllegalArgumentException twoOrMoreOperandsRequired()
      • concatRequiresAtLeastTwoOperands

        public static java.lang.IllegalArgumentException concatRequiresAtLeastTwoOperands()
      • dynamicMethodCallRequiresTargetOrMethodHandle

        public static java.lang.IllegalArgumentException dynamicMethodCallRequiresTargetOrMethodHandle()