aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hudson <hugohudson@google.com>2012-01-17 17:22:23 +0000
committerHugo Hudson <hugohudson@google.com>2012-01-17 17:22:23 +0000
commit8ec4b1db3afa51730508be7064d2111b723ac2cd (patch)
tree50658f867e6fbc01890abecc98a0f61a0fdd057d
parent1af1da6af1f59f0bc1f9d048f31279ce5e614c3d (diff)
downloaddexmaker-8ec4b1db3afa51730508be7064d2111b723ac2cd.tar.gz
Little javadoc changes.
-rw-r--r--src/main/java/com/google/dexmaker/Code.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/main/java/com/google/dexmaker/Code.java b/src/main/java/com/google/dexmaker/Code.java
index 1562314..4ea5e67 100644
--- a/src/main/java/com/google/dexmaker/Code.java
+++ b/src/main/java/com/google/dexmaker/Code.java
@@ -587,7 +587,7 @@ public final class Code {
}
/**
- * Copies the value in {@code target} to the static field {@code fieldId}.
+ * Copies the value in the static field {@code fieldId} to {@code target}.
*/
public <V> void sget(FieldId<?, V> fieldId, Local<V> target) {
addInstruction(new ThrowingCstInsn(Rops.opGetStatic(target.type.ropType), sourcePosition,
@@ -782,8 +782,7 @@ public final class Code {
}
/**
- * Assigns {@code target} to the element of {@code array} at index {@code
- * index}.
+ * Assigns the element at {@code index} in {@code array} to {@code target}.
*/
public void aget(Local<?> target, Local<?> array, Local<Integer> index) {
addInstruction(new ThrowingInsn(Rops.opAget(target.type.ropType), sourcePosition,
@@ -792,8 +791,7 @@ public final class Code {
}
/**
- * Sets the element at {@code index} in {@code array} the value in {@code
- * source}.
+ * Assigns {@code source} to the element at {@code index} in {@code array}.
*/
public void aput(Local<?> array, Local<Integer> index, Local<?> source) {
addInstruction(new ThrowingInsn(Rops.opAput(source.type.ropType), sourcePosition,