aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/javassist/CtClassType.java
diff options
context:
space:
mode:
authorchibash <chiba@javassist.org>2015-02-04 01:20:21 +0900
committerchibash <chiba@javassist.org>2015-02-04 01:20:21 +0900
commitc43f4a7cde41d04095feb027f33f3ab4da7248bd (patch)
treebada37243778b56128ca3b505685e8d49224d5a3 /src/main/javassist/CtClassType.java
parente59339343a538699b632bd9fa0cf4f251ab6f3ee (diff)
downloadjavassist-c43f4a7cde41d04095feb027f33f3ab4da7248bd.tar.gz
javassist-c43f4a7cde41d04095feb027f33f3ab4da7248bd.zip
updated javadoc comments. makeClass(ClassFile cf) was added to ClassPool.
Diffstat (limited to 'src/main/javassist/CtClassType.java')
-rw-r--r--src/main/javassist/CtClassType.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/javassist/CtClassType.java b/src/main/javassist/CtClassType.java
index 2f875f65..e86780d3 100644
--- a/src/main/javassist/CtClassType.java
+++ b/src/main/javassist/CtClassType.java
@@ -97,6 +97,12 @@ class CtClassType extends CtClass {
qualifiedName = classfile.getName();
}
+ CtClassType(ClassFile cf, ClassPool cp) {
+ this((String)null, cp);
+ classfile = cf;
+ qualifiedName = classfile.getName();
+ }
+
protected void extendToString(StringBuffer buffer) {
if (wasChanged)
buffer.append("changed ");