类 MethodTooLargeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IndexOutOfBoundsException
cn.taketoday.bytecode.MethodTooLargeException
- 所有已实现的接口:
Serializable
Exception thrown when the Code attribute of a method produced by a
ClassWriter is too
large.- 作者:
- Jason Zaugg
- 另请参阅:
-
字段概要
字段 -
构造器概要
构造器构造器说明MethodTooLargeException(String className, String methodName, String descriptor, int codeSize) Constructs a newMethodTooLargeException. -
方法概要
修饰符和类型方法说明Returns the internal name of the owner class.intReturns the size of the method's Code attribute, in bytes.Returns the descriptor of the method.Returns the name of the method.
-
字段详细资料
-
serialVersionUID
private static final long serialVersionUID- 另请参阅:
-
className
-
methodName
-
descriptor
-
codeSize
private final int codeSize
-
-
构造器详细资料
-
MethodTooLargeException
public MethodTooLargeException(String className, String methodName, String descriptor, int codeSize) Constructs a newMethodTooLargeException.- 参数:
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.
-
-
方法详细资料
-
getClassName
Returns the internal name of the owner class.- 返回:
- the internal name of the owner class.
-
getMethodName
Returns the name of the method.- 返回:
- the name of the method.
-
getDescriptor
Returns the descriptor of the method.- 返回:
- the descriptor of the method.
-
getCodeSize
public int getCodeSize()Returns the size of the method's Code attribute, in bytes.- 返回:
- the size of the method's Code attribute, in bytes.
-