public @interface CStub
| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String |
value
The member to stub.
e.g. |
| Modifier and Type | Optional Element and Description |
|---|---|
CStub.Access |
access
The access type of the member.
By default, the access type is determined automatically. This needs to be set if member validation is turned off. If member validation is turned on, this will be used as extra validation. |
boolean |
memberValidation
Validate the member when transforming.
Disabling this will skip the validation and allows the transformer to generate code that will may not work at runtime. If this is disabled, the access type must be set manually. This is useful for stubbing members that are not available at compile time, but are available at runtime (e.g. |
public abstract java.lang.String value
java/lang/String#hashCode()Ipublic abstract CStub.Access access
public abstract boolean memberValidation