| |
|
| java.lang.Object javassist.CtClass javassist.CtClassType javassist.CtNewClass javassist.CtNewNestedClass
CtNewNestedClass | class CtNewNestedClass extends CtNewClass (Code) | | A newly created public nested class.
|
Method Summary | |
public void | setModifiers(int mod) This method does not change the STATIC bit. |
setModifiers | public void setModifiers(int mod)(Code) | | This method does not change the STATIC bit. The original value is kept.
|
Fields inherited from javassist.CtNewClass | protected boolean hasConstructor(Code)(Java Doc)
|
Methods inherited from javassist.CtClassType | public void addConstructor(CtConstructor c) 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 defrost()(Code)(Java Doc) protected void eraseCache()(Code)(Java Doc) protected void extendToString(StringBuffer buffer)(Code)(Java Doc) void freeze()(Code)(Java Doc) public 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 getClassFile2()(Code)(Java Doc) public CtConstructor getClassInitializer()(Code)(Java Doc) public ClassPool getClassPool()(Code)(Java Doc) public CtConstructor getConstructor(String desc) throws NotFoundException(Code)(Java Doc) public CtConstructor[] getConstructors()(Code)(Java Doc) protected CtMember getConstructorsCache()(Code)(Java Doc) public CtBehavior[] getDeclaredBehaviors()(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) throws NotFoundException(Code)(Java Doc) public CtMethod getDeclaredMethod(String name, CtClass[] params) 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) protected CtMember getFieldsCache()(Code)(Java Doc) Hashtable getHiddenMethods()(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) protected CtMember getMethodsCache()(Code)(Java Doc) public int getModifiers()(Code)(Java Doc) public CtClass[] getNestedClasses() throws NotFoundException(Code)(Java Doc) public CtClass getSuperclass() throws NotFoundException(Code)(Java Doc) public URL getURL() throws NotFoundException(Code)(Java Doc) int getUniqueNumber()(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 isEnum()(Code)(Java Doc) public boolean isFrozen()(Code)(Java Doc) public boolean isInterface()(Code)(Java Doc) public boolean isModified()(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 m) 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(ClassMap classnames) throws RuntimeException(Code)(Java Doc) public void replaceClassName(String oldname, String newname) throws RuntimeException(Code)(Java Doc) public void setAttribute(String name, byte[] data)(Code)(Java Doc) void setClassPool(ClassPool cp)(Code)(Java Doc) public void setInterfaces(CtClass[] list)(Code)(Java Doc) public void setModifiers(int mod)(Code)(Java Doc) public void setName(String name) throws RuntimeException(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) static Object[] toAnnotationType(boolean ignoreNotFound, ClassPool cp, AnnotationsAttribute a1, AnnotationsAttribute a2) throws ClassNotFoundException(Code)(Java Doc) static Object[][] toAnnotationType(boolean ignoreNotFound, ClassPool cp, ParameterAnnotationsAttribute a1, ParameterAnnotationsAttribute a2, MethodInfo minfo) throws ClassNotFoundException(Code)(Java Doc) public void toBytecode(DataOutputStream out) throws CannotCompileException, IOException(Code)(Java Doc)
|
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)
|
|
|
|