Uses of Class
gnu.bytecode.CodeAttr
-
Packages that use CodeAttr Package Description gnu.bytecode Contains classes to generate, read, write, and print Java bytecode in the form of.classfiles.gnu.expr SupportsExpression, and various related classes need to compile programming languages.gnu.kawa.lispexpr gnu.kawa.reflect Contains classes to use reflection.gnu.kawa.xml -
-
Uses of CodeAttr in gnu.bytecode
Methods in gnu.bytecode that return CodeAttr Modifier and Type Method Description CodeAttrMethod. getCode()CodeAttrMethod. startCode()Recommended method to create a new CodeAttr for this Method.Methods in gnu.bytecode with parameters of type CodeAttr Modifier and Type Method Description booleanSwitchState. addCase(int value, CodeAttr code)Add a new case.booleanSwitchState. addCaseGoto(int value, CodeAttr code, Label label)Optimization ofaddCase(value, code); emitGoto(label).voidSwitchState. addDefault(CodeAttr code)VariableScope. 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).voidLabel. define(CodeAttr code)Define the value of a label as having the current location.voidLabel. defineRaw(CodeAttr code)Define 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.voidSwitchState. finish(CodeAttr code)Handle the end of the switch statement.voidVariable. freeLocal(CodeAttr code)booleanSwitchState. 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)voidLabel. setTypes(CodeAttr code)voidSwitchState. switchValuePushed(CodeAttr code)Needs to be called after the switch value has been pushed.Constructors in gnu.bytecode with parameters of type CodeAttr Constructor Description IfState(CodeAttr code)IfState(CodeAttr code, Label endLabel)Label(CodeAttr code)LineNumbersAttr(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)TryState(CodeAttr code) -
Uses of CodeAttr in gnu.expr
Methods in gnu.expr that return CodeAttr Modifier and Type Method Description CodeAttrCompilation. getCode()Methods in gnu.expr with parameters of type CodeAttr Modifier and Type Method Description VariableDeclaration. allocateVariable(CodeAttr code)VariableDeclaration. allocateVariable(CodeAttr code, boolean autoPopScope)static voidPrimProcedure. compileReachedUnexpected(CodeAttr code)voidConditionalTarget. emitGotoFirstBranch(CodeAttr code)Goto whichever of IfTrue or ifFalse is specified by trueBranchComesFirst.voidScopeExp. popScope(CodeAttr code)Clear bytecode resources for the ScopeExp. -
Uses of CodeAttr in gnu.kawa.lispexpr
Methods in gnu.kawa.lispexpr with parameters of type CodeAttr Modifier and Type Method Description voidLangObjType. 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 CodeAttr Modifier and Type Method Description voidMappedArrayType. emitCoerceFromObject(CodeAttr code)voidSingletonType. emitCoerceFromObject(CodeAttr code) -
Uses of CodeAttr in gnu.kawa.xml
Methods in gnu.kawa.xml with parameters of type CodeAttr Modifier and Type Method Description voidAttributeType. emitCoerceFromObject(CodeAttr code)voidElementType. emitCoerceFromObject(CodeAttr code)voidNodeType. emitCoerceFromObject(CodeAttr code)voidProcessingInstructionType. emitCoerceFromObject(CodeAttr code)voidXDataType. emitCoerceFromObject(CodeAttr code)voidXDataType. emitCoerceToObject(CodeAttr code)
-