Uses of Class
gnu.bytecode.CodeAttr
Packages that use CodeAttr
Package
Description
Contains classes to generate, read,
write, and print Java bytecode in the form of
.class files.Supports
Expression,
and various related classes need to compile programming languages.Contains classes to use reflection.
-
Uses of CodeAttr in gnu.bytecode
Methods in gnu.bytecode that return CodeAttrModifier and TypeMethodDescriptionfinal CodeAttrMethod.getCode()Method.startCode()Recommended method to create a new CodeAttr for this Method.Methods in gnu.bytecode with parameters of type CodeAttrModifier and TypeMethodDescriptionbooleanAdd a new case.booleanSwitchState.addCaseGoto(int value, CodeAttr code, Label label) Optimization ofaddCase(value, code); emitGoto(label).voidSwitchState.addDefault(CodeAttr code) Scope.addVariable(CodeAttr code, Type type, String name) voidScope.addVariable(CodeAttr code, Variable var) voidVariable.allocateLocal(CodeAttr code) Allocate slots for a local variable (or parameter).voidDefine the value of a label as having the current location.voidDefine the value of a label as having the current location.voidObjectType.emitCoerceFromObject(CodeAttr code) Compile (in given method) cast from Object to this Type.voidParameterizedType.emitCoerceFromObject(CodeAttr code) voidPrimType.emitCoerceFromObject(CodeAttr code) voidType.emitCoerceFromObject(CodeAttr code) Compile code to coerce/convert from Object to this type.voidTypeVariable.emitCoerceFromObject(CodeAttr code) voidPrimType.emitCoerceToObject(CodeAttr code) voidType.emitCoerceToObject(CodeAttr code) Compile code to convert a object of this type on the stack to Object.voidType.emitConvertFromPrimitive(Type stackType, CodeAttr code) Convert from stackType (usually PrimType) to this type.voidParameterizedType.emitIsInstance(CodeAttr code) voidPrimType.emitIsInstance(CodeAttr code) voidType.emitIsInstance(CodeAttr code) voidStackMapTableAttr.emitStackMapEntry(Label label, CodeAttr code) Emit type state for the given Label.voidSwitchState.exitSwitch(CodeAttr code) Break/exit from this switch.voidHandle the end of the switch statement.voidbooleanSwitchState.insertCase(int value, Label label, CodeAttr code) Internal routine to add a new case.voidScope.noteStartFunction(CodeAttr code) Should be called at the start of a logical function - inlined or not.booleanVariable.reserveLocal(int varIndex, CodeAttr code) Assign a local variable to a given local variable slot.voidScope.setStartPC(CodeAttr code) voidvoidSwitchState.switchValuePushed(CodeAttr code) Needs to be called after the switch value has been pushed.Constructors in gnu.bytecode with parameters of type CodeAttrModifierConstructorDescriptionLineNumbersAttr(short[] numbers, CodeAttr code) LineNumbersAttr(CodeAttr code) Add a new LineNumbersAttr to a CodeAttr.LocalVarsAttr(CodeAttr code) Add a new LocalVarsAttr to a CodeAttr.StackMapTableAttr(byte[] data, CodeAttr code) Add a new StackMapTableAttr to a CodeAttr.SwitchState(CodeAttr code) -
Uses of CodeAttr in gnu.expr
Modifier and TypeMethodDescriptionfinal VariableDeclaration.allocateVariable(CodeAttr code) final VariableDeclaration.allocateVariable(CodeAttr code, boolean autoPopScope) static voidPrimProcedure.compileReachedUnexpected(CodeAttr code) final voidConditionalTarget.emitGotoFirstBranch(CodeAttr code) Goto whichever of IfTrue or ifFalse is specified by trueBranchComesFirst.voidClear bytecode resources for the ScopeExp. -
Uses of CodeAttr in gnu.kawa.lispexpr
Methods in gnu.kawa.lispexpr with parameters of type CodeAttrModifier and TypeMethodDescriptionvoidLangObjType.emitCoerceFromObject(CodeAttr code) voidLangPrimType.emitCoerceFromObject(CodeAttr code) voidSeqSizeType.emitCoerceFromObject(CodeAttr code) voidLangPrimType.emitCoerceToObject(CodeAttr code) booleanLangObjType.emitCoercionOrNull(CodeAttr code) booleanSeqSizeType.emitCoercionOrNull(CodeAttr code) voidLangObjType.emitConvertFromPrimitive(Type stackType, CodeAttr code) voidLangPrimType.emitIsInstance(CodeAttr code) -
Uses of CodeAttr in gnu.kawa.reflect
Methods in gnu.kawa.reflect with parameters of type CodeAttrModifier and TypeMethodDescriptionvoidMappedArrayType.emitCoerceFromObject(CodeAttr code) voidSingletonType.emitCoerceFromObject(CodeAttr code) -
Uses of CodeAttr in gnu.kawa.xml
Methods in gnu.kawa.xml with parameters of type CodeAttrModifier and TypeMethodDescriptionvoidAttributeType.emitCoerceFromObject(CodeAttr code) voidElementType.emitCoerceFromObject(CodeAttr code) voidNodeType.emitCoerceFromObject(CodeAttr code) voidProcessingInstructionType.emitCoerceFromObject(CodeAttr code) voidXDataType.emitCoerceFromObject(CodeAttr code) voidXDataType.emitCoerceToObject(CodeAttr code)