public final class MethodTooLargeException
extends java.lang.IndexOutOfBoundsException
ClassWriter
is too
large.Modifier and Type | Field and Description |
---|---|
private java.lang.String |
className |
private int |
codeSize |
private java.lang.String |
descriptor |
private java.lang.String |
methodName |
private static long |
serialVersionUID |
Constructor and Description |
---|
MethodTooLargeException(java.lang.String className,
java.lang.String methodName,
java.lang.String descriptor,
int codeSize)
Constructs a new
MethodTooLargeException . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClassName()
Returns the internal name of the owner class.
|
int |
getCodeSize()
Returns the size of the method's Code attribute, in bytes.
|
java.lang.String |
getDescriptor()
Returns the descriptor of the method.
|
java.lang.String |
getMethodName()
Returns the name of the method.
|
private static final long serialVersionUID
private final java.lang.String className
private final java.lang.String methodName
private final java.lang.String descriptor
private final int codeSize
public MethodTooLargeException(java.lang.String className, java.lang.String methodName, java.lang.String descriptor, int codeSize)
MethodTooLargeException
.className
- the internal name of the owner class.methodName
- the name of the method.descriptor
- the descriptor of the method.codeSize
- the size of the method's Code attribute, in bytes.public java.lang.String getClassName()
public java.lang.String getMethodName()
public java.lang.String getDescriptor()
public int getCodeSize()