|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ModifiableMethod
Modify an existing method. Directly modifying the method body is not supported here, but the same effect is easily achieved by renaming the old method and creating a new method with the same name as the old method that delegates to the old method.
| Method Summary | |
|---|---|
void |
delete()
|
void |
setModifiers(int modifiers)
|
void |
setName(java.lang.String name)
|
| Methods inherited from interface org.glassfish.pfl.dynamic.codegen.spi.MethodInfo |
|---|
arguments, exceptions, getConstructor, getMethod, isConstructor, returnType, signature |
| Methods inherited from interface org.glassfish.pfl.dynamic.codegen.spi.MemberInfo |
|---|
isAccessibleInContext, modifiers, myClassInfo, name |
| Method Detail |
|---|
void setName(java.lang.String name)
void setModifiers(int modifiers)
void delete()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||