@Retention(value=CLASS)
@Target(value={METHOD,CONSTRUCTOR})
public @interface CModifyConstant
nullintlongfloatdoubleStringClass| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String[] |
method
The method name and descriptor to inject into.
|
| Modifier and Type | Optional Element and Description |
|---|---|
double |
doubleValue
Set the given double as the target.
|
float |
floatValue
Set the given float as the target.
|
int |
intValue
Set the given int as the target.
|
long |
longValue
Set the given long as the target.
|
boolean |
nullValue
Set ACONST_NULL as the target.
|
boolean |
optional
If the target is optional or an exception should be thrown if not found.
|
int |
ordinal
The ordinal of target constant.
|
CSlice |
slice
The slice of instructions to search for the target.
|
java.lang.String |
stringValue
Set the given String as the target.
|
java.lang.Class<?> |
typeValue
Set the given class as the target.
|
public abstract java.lang.String[] method
public abstract int ordinal
public abstract CSlice slice
public abstract boolean optional
public abstract boolean nullValue
public abstract int intValue
public abstract long longValue
public abstract float floatValue
public abstract double doubleValue