| Modifier and Type | Field and Description |
|---|---|
| private Map | |
| private CtClass | |
| pack-priv static final String | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private String | |
| public String | |
| public MethodInfo | getFieldGetter(FieldInfo finfo, boolean is_static)
Returns the method_info representing the added getter. |
| public MethodInfo | getFieldSetter(FieldInfo finfo, boolean is_static)
Returns the method_info representing the added setter. |
| public String | getMethodAccessor(String
the name of the private method. name, String the descriptor of the private method. desc, String the descriptor of the accessor method. The first
parameter type is accDesc, MethodInfo clazz.
If the private method is static,
accDesc must be identical to desc.the method info of the private method. orig)Returns the name of the method for accessing a private method. |
| accessors | back to summary |
|---|---|
| private Map<String, Object> accessors | |
| clazz | back to summary |
|---|---|
| private CtClass clazz | |
| lastParamType | back to summary |
|---|---|
| pack-priv static final String lastParamType | |
| uniqueNumber | back to summary |
|---|---|
| private int uniqueNumber | |
| AccessorMaker | back to summary |
|---|---|
| public AccessorMaker(CtClass c) | |
| findAccessorName | back to summary |
|---|---|
| private String findAccessorName(ClassFile cf) | |
| getConstructor | back to summary |
|---|---|
| public String getConstructor(CtClass c, String desc, MethodInfo orig) throws CompileError | |
| getFieldGetter | back to summary |
|---|---|
| public MethodInfo getFieldGetter(FieldInfo finfo, boolean is_static) throws CompileError Returns the method_info representing the added getter. | |
| getFieldSetter | back to summary |
|---|---|
| public MethodInfo getFieldSetter(FieldInfo finfo, boolean is_static) throws CompileError Returns the method_info representing the added setter. | |
| getMethodAccessor | back to summary |
|---|---|
| public String getMethodAccessor(String name, String desc, String accDesc, MethodInfo orig) throws CompileError Returns the name of the method for accessing a private method.
| |