aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/javassist/CtField.java
diff options
context:
space:
mode:
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2005-09-06 15:09:18 +0000
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2005-09-06 15:09:18 +0000
commitd59bfd284a5a2f7dcb380ccb358621a5bd4b1b6b (patch)
tree869145095f7a10772988046b785192c0f61f0f7d /src/main/javassist/CtField.java
parent19d816cade1433304548903c09a993bb1ba3c1ed (diff)
downloadjavassist-d59bfd284a5a2f7dcb380ccb358621a5bd4b1b6b.tar.gz
javassist-d59bfd284a5a2f7dcb380ccb358621a5bd4b1b6b.zip
updated javadoc comments
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@204 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'src/main/javassist/CtField.java')
-rw-r--r--src/main/javassist/CtField.java18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/main/javassist/CtField.java b/src/main/javassist/CtField.java
index f4f2986a..fa446f4d 100644
--- a/src/main/javassist/CtField.java
+++ b/src/main/javassist/CtField.java
@@ -171,7 +171,23 @@ public class CtField extends CtMember {
}
/**
- * Undocumented method. Do not use; internal-use only.
+ * Returns the FieldInfo representing the field in the class
+ * file (read only).
+ * Normal applications do not need calling this method. Use
+ * <code>getFieldInfo()</code>.
+ *
+ * <p>The <code>FieldInfo</code> object obtained by this method
+ * is read only. Changes to this object might not be reflected
+ * on a class file generated by <code>toBytecode()</code>,
+ * <code>toClass()</code>, etc in <code>CtClass</code>.
+ *
+ * <p>This method is available even if the <code>CtClass</code>
+ * containing this field is frozen. However, if the class is
+ * frozen, the <code>FieldInfo</code> might be also pruned.
+ *
+ * @see #getFieldInfo()
+ * @see CtClass#isFrozen()
+ * @see CtClass#prune()
*/
public FieldInfo getFieldInfo2() { return fieldInfo; }