Interface ModifiableMethod

  • All Superinterfaces:
    MemberInfo, MethodInfo

    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 Detail

      • setName

        void setName​(java.lang.String name)
      • setModifiers

        void setModifiers​(int modifiers)
      • delete

        void delete()