| |
|
| java.lang.Object javassist.CtClass javassist.CtClassType
All known Subclasses: javassist.CtNewClass,
Method Summary | |
public void | addConstructor(CtConstructor c) | public void | addField(CtField f, String init) | public void | addField(CtField f, CtField.Initializer init) | public void | addInterface(CtClass anInterface) | public void | addMethod(CtMethod m) | void | checkModify() | public void | defrost() | protected void | eraseCache() | protected void | extendToString(StringBuffer buffer) | void | freeze() | public AccessorMaker | getAccessorMaker() | public Object[] | getAnnotations() | public byte[] | getAttribute(String name) | public Object[] | getAvailableAnnotations() | public ClassFile | getClassFile2() | public CtConstructor | getClassInitializer() | public ClassPool | getClassPool() | public CtConstructor | getConstructor(String desc) | public CtConstructor[] | getConstructors() | protected CtMember | getConstructorsCache() | public CtBehavior[] | getDeclaredBehaviors() | public CtConstructor[] | getDeclaredConstructors() | public CtField | getDeclaredField(String name) | public CtField[] | getDeclaredFields() | public CtMethod | getDeclaredMethod(String name) | public CtMethod | getDeclaredMethod(String name, CtClass[] params) | public CtMethod[] | getDeclaredMethods() | public CtClass | getDeclaringClass() | public CtMethod | getEnclosingMethod() | public CtField | getField(String name) | CtField | getField2(String name) | public CtField[] | getFields() | protected CtMember | getFieldsCache() | Hashtable | getHiddenMethods() | public CtClass[] | getInterfaces() | public CtMethod | getMethod(String name, String desc) | public CtMethod[] | getMethods() | protected CtMember | getMethodsCache() | public int | getModifiers() | public CtClass[] | getNestedClasses() | public CtClass | getSuperclass() | public URL | getURL() | int | getUniqueNumber() | void | incGetCounter() | public void | instrument(CodeConverter converter) | public void | instrument(ExprEditor editor) | public boolean | isAnnotation() | public boolean | isEnum() | public boolean | isFrozen() | public boolean | isInterface() | public boolean | isModified() | public CtConstructor | makeClassInitializer() | public CtClass | makeNestedClass(String name, boolean isStatic) | public String | makeUniqueName(String prefix) | public void | prune() | public void | removeConstructor(CtConstructor m) | public void | removeField(CtField f) | public void | removeMethod(CtMethod m) | public void | replaceClassName(ClassMap classnames) | public void | replaceClassName(String oldname, String newname) | public void | setAttribute(String name, byte[] data) | void | setClassPool(ClassPool cp) | public void | setInterfaces(CtClass[] list) | public void | setModifiers(int mod) | public void | setName(String name) | public void | setSuperclass(CtClass clazz) | public boolean | stopPruning(boolean stop) | public boolean | subclassOf(CtClass superclass) | public boolean | subtypeOf(CtClass clazz) | static Object[] | toAnnotationType(boolean ignoreNotFound, ClassPool cp, AnnotationsAttribute a1, AnnotationsAttribute a2) | static Object[][] | toAnnotationType(boolean ignoreNotFound, ClassPool cp, ParameterAnnotationsAttribute a1, ParameterAnnotationsAttribute a2, MethodInfo minfo) | public void | toBytecode(DataOutputStream out) |
getCounter | int getCounter(Code) | | |
memberRemoved | boolean memberRemoved(Code) | | |
wasChanged | boolean wasChanged(Code) | | |
wasPruned | boolean wasPruned(Code) | | |
defrost | public void defrost()(Code) | | |
eraseCache | protected void eraseCache()(Code) | | |
getAvailableAnnotations | public Object[] getAvailableAnnotations()(Code) | | |
getModifiers | public int getModifiers()(Code) | | |
getUniqueNumber | int getUniqueNumber()(Code) | | |
incGetCounter | void incGetCounter()(Code) | | |
isAnnotation | public boolean isAnnotation()(Code) | | |
isEnum | public boolean isEnum()(Code) | | |
isFrozen | public boolean isFrozen()(Code) | | |
isInterface | public boolean isInterface()(Code) | | |
isModified | public boolean isModified()(Code) | | |
setAttribute | public void setAttribute(String name, byte[] data)(Code) | | |
setModifiers | public void setModifiers(int mod)(Code) | | |
stopPruning | public boolean stopPruning(boolean stop)(Code) | | |
Methods inherited from javassist.CtClass | public void addConstructor(CtConstructor c) throws CannotCompileException(Code)(Java Doc) public void addField(CtField f) throws CannotCompileException(Code)(Java Doc) public void addField(CtField f, String init) throws CannotCompileException(Code)(Java Doc) public void addField(CtField f, CtField.Initializer init) throws CannotCompileException(Code)(Java Doc) public void addInterface(CtClass anInterface)(Code)(Java Doc) public void addMethod(CtMethod m) throws CannotCompileException(Code)(Java Doc) void checkModify() throws RuntimeException(Code)(Java Doc) public void debugWriteFile()(Code)(Java Doc) public void defrost()(Code)(Java Doc) public void detach()(Code)(Java Doc) protected void extendToString(StringBuffer buffer)(Code)(Java Doc) void freeze()(Code)(Java Doc) public javassist.compiler.AccessorMaker getAccessorMaker()(Code)(Java Doc) public Object[] getAnnotations() throws ClassNotFoundException(Code)(Java Doc) public byte[] getAttribute(String name)(Code)(Java Doc) public Object[] getAvailableAnnotations()(Code)(Java Doc) public ClassFile getClassFile()(Code)(Java Doc) public ClassFile getClassFile2()(Code)(Java Doc) public CtConstructor getClassInitializer()(Code)(Java Doc) public ClassPool getClassPool()(Code)(Java Doc) public CtClass getComponentType() throws NotFoundException(Code)(Java Doc) public CtConstructor getConstructor(String desc) throws NotFoundException(Code)(Java Doc) public CtConstructor[] getConstructors()(Code)(Java Doc) public CtBehavior[] getDeclaredBehaviors()(Code)(Java Doc) public CtConstructor getDeclaredConstructor(CtClass[] params) throws NotFoundException(Code)(Java Doc) public CtConstructor[] getDeclaredConstructors()(Code)(Java Doc) public CtField getDeclaredField(String name) throws NotFoundException(Code)(Java Doc) public CtField[] getDeclaredFields()(Code)(Java Doc) public CtMethod getDeclaredMethod(String name, CtClass[] params) throws NotFoundException(Code)(Java Doc) public CtMethod getDeclaredMethod(String name) throws NotFoundException(Code)(Java Doc) public CtMethod[] getDeclaredMethods()(Code)(Java Doc) public CtClass getDeclaringClass() throws NotFoundException(Code)(Java Doc) public CtMethod getEnclosingMethod() throws NotFoundException(Code)(Java Doc) public CtField getField(String name) throws NotFoundException(Code)(Java Doc) CtField getField2(String name)(Code)(Java Doc) public CtField[] getFields()(Code)(Java Doc) public CtClass[] getInterfaces() throws NotFoundException(Code)(Java Doc) public CtMethod getMethod(String name, String desc) throws NotFoundException(Code)(Java Doc) public CtMethod[] getMethods()(Code)(Java Doc) public int getModifiers()(Code)(Java Doc) public String getName()(Code)(Java Doc) public CtClass[] getNestedClasses() throws NotFoundException(Code)(Java Doc) final public String getPackageName()(Code)(Java Doc) public Collection getRefClasses()(Code)(Java Doc) final public String getSimpleName()(Code)(Java Doc) public CtClass getSuperclass() throws NotFoundException(Code)(Java Doc) public URL getURL() throws NotFoundException(Code)(Java Doc) void incGetCounter()(Code)(Java Doc) public void instrument(CodeConverter converter) throws CannotCompileException(Code)(Java Doc) public void instrument(ExprEditor editor) throws CannotCompileException(Code)(Java Doc) public boolean isAnnotation()(Code)(Java Doc) public boolean isArray()(Code)(Java Doc) public boolean isEnum()(Code)(Java Doc) public boolean isFrozen()(Code)(Java Doc) public boolean isInterface()(Code)(Java Doc) public boolean isModified()(Code)(Java Doc) public boolean isPrimitive()(Code)(Java Doc) public static void main(String[] args)(Code)(Java Doc) public CtConstructor makeClassInitializer() throws CannotCompileException(Code)(Java Doc) public CtClass makeNestedClass(String name, boolean isStatic)(Code)(Java Doc) public String makeUniqueName(String prefix)(Code)(Java Doc) public void prune()(Code)(Java Doc) public void removeConstructor(CtConstructor c) throws NotFoundException(Code)(Java Doc) public void removeField(CtField f) throws NotFoundException(Code)(Java Doc) public void removeMethod(CtMethod m) throws NotFoundException(Code)(Java Doc) public void replaceClassName(String oldName, String newName)(Code)(Java Doc) public void replaceClassName(ClassMap map)(Code)(Java Doc) public void setAttribute(String name, byte[] data)(Code)(Java Doc) public void setInterfaces(CtClass[] list)(Code)(Java Doc) public void setModifiers(int mod)(Code)(Java Doc) public void setName(String name)(Code)(Java Doc) public void setSuperclass(CtClass clazz) throws CannotCompileException(Code)(Java Doc) public boolean stopPruning(boolean stop)(Code)(Java Doc) public boolean subclassOf(CtClass superclass)(Code)(Java Doc) public boolean subtypeOf(CtClass clazz) throws NotFoundException(Code)(Java Doc) public byte[] toBytecode() throws IOException, CannotCompileException(Code)(Java Doc) public void toBytecode(DataOutputStream out) throws CannotCompileException, IOException(Code)(Java Doc) public Class toClass() throws CannotCompileException(Code)(Java Doc) public Class toClass(ClassLoader loader, ProtectionDomain domain) throws CannotCompileException(Code)(Java Doc) final public Class toClass(ClassLoader loader) throws CannotCompileException(Code)(Java Doc) public String toString()(Code)(Java Doc) public void writeFile() throws NotFoundException, IOException, CannotCompileException(Code)(Java Doc) public void writeFile(String directoryName) throws CannotCompileException, IOException(Code)(Java Doc)
|
|
|
|