Package javassist
Class CtNewNestedClass
- java.lang.Object
-
- javassist.CtClass
-
- javassist.CtClassType
-
- javassist.CtNewClass
-
- javassist.CtNewNestedClass
-
class CtNewNestedClass extends CtNewClass
A newly created public nested class.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class javassist.CtClass
CtClass.DelayedFileOutputStream
-
-
Field Summary
-
Fields inherited from class javassist.CtNewClass
hasConstructor
-
Fields inherited from class javassist.CtClassType
classfile, classPool, gcConstPool, rawClassfile, wasChanged, wasPruned
-
Fields inherited from class javassist.CtClass
booleanType, byteType, charType, debugDump, doubleType, floatType, intType, javaLangObject, longType, primitiveTypes, qualifiedName, shortType, version, voidType
-
-
Constructor Summary
Constructors Constructor Description CtNewNestedClass(java.lang.String realName, ClassPool cp, boolean isInterface, CtClass superclass)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setModifiers(int mod)
This method does not change the STATIC bit.private static void
updateInnerEntry(int mod, java.lang.String name, CtClass clazz, boolean outer)
-
Methods inherited from class javassist.CtNewClass
addConstructor, extendToString, inheritAllConstructors, toBytecode
-
Methods inherited from class javassist.CtClassType
addField, addField, addInterface, addMethod, checkModify, compress, defrost, freeze, getAccessorMaker, getAnnotation, getAnnotations, getAnnotationType, getAttribute, getAvailableAnnotations, getClassFile2, getClassFile3, getClassInitializer, getClassPool, getConstructor, getConstructors, getDeclaredBehaviors, getDeclaredConstructors, getDeclaredField, getDeclaredField, getDeclaredFields, getDeclaredMethod, getDeclaredMethod, getDeclaredMethods, getDeclaredMethods, getDeclaringClass, getEnclosingBehavior, getField, getField2, getFields, getGenericSignature, getHiddenMethods, getInterfaces, getMembers, getMethod, getMethods, getModifiers, getNestedClasses, getSuperclass, getUniqueNumber, getURL, hasAnnotation, hasAnnotationType, hasAnnotationType, hasMemberCache, incGetCounter, instrument, instrument, isAnnotation, isEnum, isFrozen, isInterface, isModified, makeClassInitializer, makeNestedClass, makeUniqueName, prune, rebuildClassFile, removeConstructor, removeField, removeMethod, replaceClassName, replaceClassName, setAttribute, setClassPool, setGenericSignature, setInterfaces, setName, setSuperclass, stopPruning, subclassOf, subtypeOf, toAnnotationType, toAnnotationType
-
Methods inherited from class javassist.CtClass
addField, debugWriteFile, debugWriteFile, detach, getClassFile, getComponentType, getDeclaredClasses, getDeclaredConstructor, getEnclosingMethod, getField, getName, getPackageName, getRefClasses, getSimpleName, hasAnnotation, isArray, isPrimitive, main, makeFileOutput, toBytecode, toClass, toClass, toClass, toString, writeFile, writeFile
-
-
-
-
Method Detail
-
setModifiers
public void setModifiers(int mod)
This method does not change the STATIC bit. The original value is kept.- Overrides:
setModifiers
in classCtClassType
- Parameters:
mod
- modifiers encoded byjavassist.Modifier
- See Also:
Modifier
-
updateInnerEntry
private static void updateInnerEntry(int mod, java.lang.String name, CtClass clazz, boolean outer)
-
-