Package com.strobel.reflection.emit
Class Error
java.lang.Object
com.strobel.reflection.emit.Error
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RuntimeException
static RuntimeException
static RuntimeException
static RuntimeException
annotationRequiresValue
(Type<? extends Annotation> annotationType) static RuntimeException
argumentIndexOutOfRange
(MethodBase method, int index) static IllegalArgumentException
static RuntimeException
static RuntimeException
attributeValueIncompatible
(Type<?> attributeType, Type<?> valueType) static RuntimeException
static RuntimeException
badLabel()
static RuntimeException
static RuntimeException
static RuntimeException
static RuntimeException
baseTypeHasNoDefaultConstructor
(Type<?> baseType) static RuntimeException
boxFailure
(Type<?> type) static IllegalStateException
static RuntimeException
static RuntimeException
static RuntimeException
cannotInstantiateUnboundGenericType
(Type<?> type) static RuntimeException
static IllegalStateException
static RuntimeException
static RuntimeException
static IllegalArgumentException
static RuntimeException
static IllegalStateException
checkedExceptionUnhandled
(Type<?> exceptionType) static RuntimeException
classGenerationFailed
(TypeBuilder<?> t, Throwable e) static IllegalStateException
static RuntimeException
static RuntimeException
static IllegalStateException
static RuntimeException
static RuntimeException
static RuntimeException
illegalTwoByteBranch
(int position, int address) static IllegalArgumentException
static RuntimeException
static RuntimeException
invalidBranchOpCode
(OpCode opCode) static RuntimeException
invalidCast
(Type<?> sourceType, Type<?> targetType) static RuntimeException
invalidType
(Type<?> type) static RuntimeException
static RuntimeException
static IllegalArgumentException
static IllegalArgumentException
static RuntimeException
methodHasEmptyBody
(MethodBuilder method) static RuntimeException
static RuntimeException
static RuntimeException
static IllegalArgumentException
static RuntimeException
newArrayDimensionsOutOfRange
(Type<?> arrayType, int dimensions) static RuntimeException
static RuntimeException
notGenericType
(Type<?> type) notGenericTypeDefinition
(Type<?> type) static RuntimeException
static RuntimeException
static RuntimeException
static IllegalArgumentException
static IllegalArgumentException
static RuntimeException
static RuntimeException
static RuntimeException
static RuntimeException
static RuntimeException
static IllegalArgumentException
static RuntimeException
static RuntimeException
typeMustBeInterface
(Type<?> type) static RuntimeException
static RuntimeException
typeNotAnAnnotation
(Type<? extends Annotation> type) static RuntimeException
static RuntimeException
static RuntimeException
static RuntimeException
-
Constructor Details
-
Error
private Error()
-
-
Method Details
-
bytecodeGeneratorNotOwnedByMethodBuilder
-
typeHasBeenCreated
-
typeHasNotBeenCreated
-
typeIsGeneric
-
memberContainsUnboundGenericParameters
-
methodIsGeneric
-
methodIsFinished
-
unmatchedLocal
-
badLabel
-
badLabelContent
-
labelAlreadyDefined
-
unclosedExceptionBlock
-
illegalTwoByteBranch
-
invokeOpCodeRequired
-
invalidType
-
constructorNotFound
-
cannotInstantiateUnboundGenericType
-
boxFailure
-
cannotConvertToOrFromVoid
-
invalidCast
-
newArrayDimensionsOutOfRange
-
argumentIndexOutOfRange
-
cannotLoadThisForStaticMethod
-
invalidBranchOpCode
-
cannotModifyTypeAfterCreateType
-
typeNameTooLong
-
packageAccessRequired
-
baseTypeCannotBeInterface
-
baseTypeCannotBeGenericParameter
-
typeCannotHaveItselfAsBaseType
-
typeCannotHaveItselfAsInterface
-
typeMustBeInterface
-
typeMustBeInterface
-
typeNotCreated
-
cannotModifyMethodAfterCallingGetGenerator
-
genericParametersAlreadySet
-
methodHasOpenLocalScope
-
abstractMethodDeclaredOnNonAbstractType
-
abstractMethodCannotHaveBody
-
methodHasEmptyBody
-
notInExceptionBlock
-
badExceptionCodeGenerated
-
catchRequiresThrowableType
-
couldNotLoadUnsafeClassInstance
-
valueMustBeConstant
-
annotationRequiresValue
-
attributeValueCountMismatch
-
attributeValueIncompatible
-
annotationHasNoDefaultAttribute
-
typeNotAnAnnotation
-
classGenerationFailed
-
onlyAnnotationMethodsCanHaveDefaultValues
-
genericTypeDefinitionRequired
-
interfacesCannotDefineConstructors
-
baseTypeHasNoDefaultConstructor
-
noCodeGeneratorForDefaultConstructor
-
typeMustBeArray
-
branchAddressTooLarge
-
checkedExceptionUnhandled
-
methodBuilderBelongsToAnotherType
-
parameterCountMismatch
-
incompatibleReturnTypes
-
methodNameMismatch
-
staticInstanceMethodMismatch
-
cannotOverrideFinalMethod
-
codeGenerationException
-
notGenericType
-
notGenericTypeDefinition
-
defineGenericParametersAlreadyCalled
-
argumentMustBeTypeBuilder
-
cannotModifyFieldAfterTypeCreated
-