|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.curjent.impl.agent.ParamInfo
final class ParamInfo
Information for bytecode generation of method parameters. A message class is generated for each method, and a field for each parameter is generated for the message. This class contains bytecode information for transferring arguments to and from the message.
ResultInfo
,
MethodInfo
,
TypeInfo
Field Summary | |
---|---|
(package private) BoxedInfo |
boxed
Primitive value boxing and unboxing information for the message field's type. |
(package private) String |
descriptor
Parameter type descriptor. |
(package private) String |
internal
Parameter type internal name. |
(package private) String |
name
Message field name. |
(package private) int |
size
Argument stack size. |
(package private) Class<?> |
type
Parameter type. |
Constructor Summary | |
---|---|
ParamInfo(Class<?> type,
int index)
Extracts and saves information for a parameter. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
Class<?> type
Boolean.TYPE
for a
boolean
parameter, and String.class
for a
String
parameter.
String internal
"java/lang/String"
for String
.
String descriptor
"Ljava/lang/String;"
for String
.
String name
int size
long
and
double
parameters, or 1 for all others.
BoxedInfo boxed
null
for non-primitive types.
Constructor Detail |
---|
ParamInfo(Class<?> type, int index)
type
- The parameter's type.index
- The method index of the parameter. The method's first
parameter is at index 0
. Its last parameter is at index
length - 1
, where length
is the number of
parameters.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |