Uses of Class
serp.bytecode.BCField
Packages that use BCField
-
Uses of BCField in serp.bytecode
Methods in serp.bytecode that return BCFieldModifier and TypeMethodDescriptionprivate BCField
ClassConstantInstruction.addClassField
(String name) Adds a static field to hold the loaded class constant.BCClass.declareField
(String name, Class type) Add a field to this class.BCClass.declareField
(String name, String type) Add a field to this class.BCClass.declareField
(String name, BCClass type) Add a field to this class.BCClass.declareField
(BCField field) Import the information from given field as a new field in this class.BCClass.getDeclaredField
(String name) Return the declared field with the given name, or null if none.BCField[]
BCClass.getDeclaredFields()
Return all the declared fields of this class, or an empty array if none.ConstantValue.getField()
Return the owning field.FieldInstruction.getField()
Return the field this instruction operates on, or null if not set.BCField[]
BCClass.getFields()
Return all the fields of this class, including those of all superclasses, or an empty array if none.BCField[]
Return all fields with the given name, including those of all superclasses, or an empty array if none.Methods in serp.bytecode with parameters of type BCFieldModifier and TypeMethodDescriptionBCClass.declareField
(BCField field) Import the information from given field as a new field in this class.boolean
BCClass.removeDeclaredField
(BCField field) Remove a field from this class.void
BCClass.setDeclaredFields
(BCField[] fields) Set the fields for this class; this method is useful for importing all fields from another class.Set the field this instruction operates on. -
Uses of BCField in serp.bytecode.visitor
Methods in serp.bytecode.visitor with parameters of type BCFieldModifier and TypeMethodDescriptionvoid
BCVisitor.enterBCField
(BCField obj) void
PrettyPrintVisitor.enterBCField
(BCField obj) void
BCVisitor.exitBCField
(BCField obj) void
PrettyPrintVisitor.exitBCField
(BCField obj)