public class TypeAnnotationCodeStream extends StackMapFrameCodeStream
StackMapFrameCodeStream.ExceptionMarker, StackMapFrameCodeStream.StackDepthMarker, StackMapFrameCodeStream.StackMarker| Modifier and Type | Field and Description |
|---|---|
java.util.List |
allTypeAnnotationContexts |
exceptionMarkers, stackDepthMarkers, stackMarkers, stateIndexes, stateIndexesCounterallLocalsCounter, bCodeStream, classFile, classFileOffset, constantPool, countLabels, exceptionLabels, exceptionLabelsCounter, generateAttributes, ImplicitThis, labels, LABELS_INCREMENT, lambdaExpression, lastAbruptCompletion, lastEntryPC, lineNumberEnd, lineNumberStart, lineSeparatorPositions, locals, LOCALS_INCREMENT, maxFieldCount, maxLocals, methodDeclaration, pcToSourceMap, pcToSourceMapSize, position, preserveUnusedLocals, RESTART_CODE_GEN_FOR_UNUSED_LOCALS_MODE, RESTART_IN_WIDE_MODE, stackDepth, stackMax, startingClassFileOffset, targetLevel, visibleLocals, wideMode| Constructor and Description |
|---|
TypeAnnotationCodeStream(ClassFile givenClassFile) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkcast(TypeReference typeReference,
TypeBinding typeBinding,
int currentPosition) |
void |
init(ClassFile targetClassFile) |
void |
instance_of(TypeReference typeReference,
TypeBinding typeBinding)
We didn't call it instanceof because there is a conflict with the
instanceof keyword
|
void |
invoke(byte opcode,
MethodBinding methodBinding,
TypeBinding declaringClass,
TypeReference[] typeArguments) |
void |
invokeDynamic(int bootStrapIndex,
int argsSize,
int returnTypeSize,
char[] selector,
char[] signature,
boolean isConstructorReference,
TypeReference lhsTypeReference,
TypeReference[] typeArguments) |
void |
multianewarray(TypeReference typeReference,
TypeBinding typeBinding,
int dimensions,
ArrayAllocationExpression allocationExpression) |
void |
new_(TypeReference typeReference,
TypeBinding typeBinding) |
void |
newArray(TypeReference typeReference,
ArrayAllocationExpression allocationExpression,
ArrayBinding arrayBinding) |
void |
reset(ClassFile givenClassFile) |
addDefinitelyAssignedVariables, addExceptionMarker, addFramePosition, addVariable, areturn, athrow, decrStackSize, dreturn, freturn, generateClassLiteralAccessForType, generateOuterAccess, getExceptionMarkers, getFramePositions, getStackDepthMarkers, getStackMarkers, goto_, goto_w, hasFramePositions, initializeMaxLocals, ireturn, lreturn, optimizeBranch, popStateIndex, pushExceptionOnStack, pushOnStack, pushStateIndex, recordExpressionType, removeFramePosition, removeNotDefinitelyAssignedVariables, resetForCodeGenUnusedLocals, resetInWideMode, resetSecretLocals, return_, writePosition, writePosition, writeSignedWord, writeWidePositionaaload, aastore, aconst_null, addLabel, addVisibleLocalVariable, aload_0, aload_1, aload_2, aload_3, aload, anewarray, arrayAt, arrayAtPut, arraylength, astore_0, astore_1, astore_2, astore_3, astore, baload, bastore, bipush, caload, castore, checkcast, checkcast, d2f, d2i, d2l, dadd, daload, dastore, dcmpg, dcmpl, dconst_0, dconst_1, ddiv, dload_0, dload_1, dload_2, dload_3, dload, dmul, dneg, drem, dstore_0, dstore_1, dstore_2, dstore_3, dstore, dsub, dup_x1, dup_x2, dup, dup2_x1, dup2_x2, dup2, exitUserScope, exitUserScope, f2d, f2i, f2l, fadd, faload, fastore, fcmpg, fcmpl, fconst_0, fconst_1, fconst_2, fdiv, fieldAccess, fload_0, fload_1, fload_2, fload_3, fload, fmul, fneg, frem, fstore_0, fstore_1, fstore_2, fstore_3, fstore, fsub, generateBoxingConversion, generateCodeAttributeForProblemMethod, generateConstant, generateEmulatedReadAccessForField, generateEmulatedWriteAccessForField, generateEmulationForConstructor, generateEmulationForField, generateEmulationForMethod, generateImplicitConversion, generateInlinedValue, generateInlinedValue, generateInlinedValue, generateInlinedValue, generateInlinedValue, generateInlinedValue, generateInlinedValue, generateInlinedValue, generateReturnBytecode, generateStringConcatenationAppend, generateSyntheticBodyForArrayClone, generateSyntheticBodyForArrayConstructor, generateSyntheticBodyForConstructorAccess, generateSyntheticBodyForDeserializeLambda, generateSyntheticBodyForEnumInitializationMethod, generateSyntheticBodyForEnumValueOf, generateSyntheticBodyForEnumValues, generateSyntheticBodyForFactoryMethod, generateSyntheticBodyForFieldReadAccess, generateSyntheticBodyForFieldWriteAccess, generateSyntheticBodyForMethodAccess, generateSyntheticBodyForSwitchTable, generateSyntheticEnclosingInstanceValues, generateSyntheticOuterArgumentValues, generateUnboxingConversion, generateWideRevertedConditionalBranch, getBaseTypeValue, getConstantPoolDeclaringClass, getConstantPoolDeclaringClass, getContents, getPosition, getTYPE, i2b, i2c, i2d, i2f, i2l, i2s, iadd, iaload, iand, iastore, iconst_0, iconst_1, iconst_2, iconst_3, iconst_4, iconst_5, iconst_m1, idiv, if_acmpeq, if_acmpne, if_icmpeq, if_icmpge, if_icmpgt, if_icmple, if_icmplt, if_icmpne, ifeq, ifge, ifgt, ifle, iflt, ifne, ifnonnull, ifnull, iinc, iload_0, iload_1, iload_2, iload_3, iload, imul, indexOfSameLineEntrySincePC, ineg, inlineForwardReferencesFromLabelsTargeting, insertionIndex, instance_of, invoke, invoke, invokeAccessibleObjectSetAccessible, invokeArrayNewInstance, invokeAutoCloseableClose, invokeClassForName, invokeClassGetDeclaredConstructor, invokeClassGetDeclaredField, invokeClassGetDeclaredMethod, invokeDynamic, invokeEnumOrdinal, invokeIterableIterator, invokeJavaLangAssertionErrorConstructor, invokeJavaLangAssertionErrorDefaultConstructor, invokeJavaLangClassDesiredAssertionStatus, invokeJavaLangEnumvalueOf, invokeJavaLangEnumValues, invokeJavaLangErrorConstructor, invokeJavaLangReflectConstructorNewInstance, invokeJavaLangReflectFieldGetter, invokeJavaLangReflectFieldSetter, invokeJavaLangReflectMethodInvoke, invokeJavaUtilIteratorHasNext, invokeJavaUtilIteratorNext, invokeNoClassDefFoundErrorStringConstructor, invokeObjectEquals, invokeObjectGetClass, invokeStringConcatenationAppendForType, invokeStringConcatenationDefaultConstructor, invokeStringConcatenationStringConstructor, invokeStringConcatenationToString, invokeStringEquals, invokeStringHashCode, invokeStringIntern, invokeStringValueOf, invokeSystemArraycopy, invokeThrowableAddSuppressed, invokeThrowableGetMessage, ior, irem, isDefinitelyAssigned, ishl, ishr, istore_0, istore_1, istore_2, istore_3, istore, isub, iushr, ixor, jsr_w, jsr, l2d, l2f, l2i, ladd, laload, land, lastore, lcmp, lconst_0, lconst_1, ldc, ldc, ldc, ldc, ldc2_w, ldc2_w, ldcForIndex, ldiv, lload_0, lload_1, lload_2, lload_3, lload, lmul, lneg, load, load, loadInt, lookupswitch, lor, lrem, lshl, lshr, lstore_0, lstore_1, lstore_2, lstore_3, lstore, lsub, lushr, lxor, monitorenter, monitorexit, new_, newArray, newarray, newJavaLangAssertionError, newJavaLangError, newNoClassDefFoundError, newStringContatenation, newWrapperFor, nop, pop, pop2, record, recordPositionsFrom, recordPositionsFrom, registerExceptionHandler, removeUnusedPcToSourceMapEntries, removeVariable, reset, reset, resetForProblemClinit, ret, saload, sastore, sendOperator, sipush, sort, store, swap, tableswitch, throwAnyException, toString, writeSignedWordpublic TypeAnnotationCodeStream(ClassFile givenClassFile)
public void instance_of(TypeReference typeReference, TypeBinding typeBinding)
CodeStreaminstance_of in class CodeStreampublic void multianewarray(TypeReference typeReference, TypeBinding typeBinding, int dimensions, ArrayAllocationExpression allocationExpression)
multianewarray in class CodeStreampublic void new_(TypeReference typeReference, TypeBinding typeBinding)
new_ in class CodeStreampublic void newArray(TypeReference typeReference, ArrayAllocationExpression allocationExpression, ArrayBinding arrayBinding)
newArray in class CodeStreampublic void checkcast(TypeReference typeReference, TypeBinding typeBinding, int currentPosition)
checkcast in class CodeStreampublic void invoke(byte opcode,
MethodBinding methodBinding,
TypeBinding declaringClass,
TypeReference[] typeArguments)
invoke in class CodeStreampublic void invokeDynamic(int bootStrapIndex,
int argsSize,
int returnTypeSize,
char[] selector,
char[] signature,
boolean isConstructorReference,
TypeReference lhsTypeReference,
TypeReference[] typeArguments)
invokeDynamic in class CodeStreampublic void reset(ClassFile givenClassFile)
reset in class StackMapFrameCodeStreampublic void init(ClassFile targetClassFile)
init in class StackMapFrameCodeStream