pfl 5.1.1
org.glassfish.pfl.dynamic
org.glassfish.pfl.dynamic.codegen.spi
ModifiableMethod
Top
Description
Methods
org.glassfish.pfl.dynamic.codegen.spi
public
Interface ModifiableMethod
extends
MethodInfo
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
Modifier and Type
Method and Description
public
void
delete
()
public
void
setModifiers
(
int modifiers
)
public
void
setName
(
String
name
)
Inherited from
org.glassfish.pfl.dynamic.codegen.spi.MethodInfo
:
arguments
exceptions
getConstructor
getMethod
isConstructor
returnType
signature
Method Detail
delete
back to summary
public
void
delete
()
setModifiers
back to summary
public
void
setModifiers
(
int modifiers
)
setName
back to summary
public
void
setName
(
String
name
)