Class PermittedSubclassesAttribute
java.lang.Object
javassist.bytecode.AttributeInfo
javassist.bytecode.PermittedSubclassesAttribute
A class representing PermittedSubclasses_attribute
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs an empty PermittedSubclassesAttribute attribute. -
Method Summary
Modifier and TypeMethodDescriptionvoidCopies this attribute and returns a new copy.Gets a read-only List of the class names.voidwrite(DataOutputStream out) Methods inherited from class AttributeInfo
get, getConstPool, getName, length, set, setMaxAttributeLength
-
Field Details
-
tag
-
-
Constructor Details
-
PermittedSubclassesAttribute
Constructs an empty PermittedSubclassesAttribute attribute.- See Also:
-
-
Method Details
-
getPermittedSubclasses
-
addClass
-
write
- Throws:
IOException
-
copy
Copies this attribute and returns a new copy.- Overrides:
copyin classAttributeInfo- Parameters:
newCp- the constant pool table used by the new copy.classnames- pairs of replaced and substituted class names.
-