Package samples.interfacefieldchange
Interface InterfaceWithStaticFinalField
-
public interface InterfaceWithStaticFinalField
The purpose of the simple class is to demonstrate PowerMocks (possibly future) ability to change static final fields in an interface. This is normally not possible (the simple byte-code manipulation approach of removing the final modifier doesn't work for interfaces since all static fields must be final in interfaces according to the specification).
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
MY_STRING
-
-
-
Field Detail
-
MY_STRING
static final java.lang.String MY_STRING
- See Also:
- Constant Field Values
-
-