Interface ICodePrototype
- All Superinterfaces:
ICodeItem
- All Known Subinterfaces:
IPrototypeItem
Definition of a routine's prototype object.
-
Field Summary
Fields inherited from interface com.pnfsoftware.jeb.core.units.code.ICodeItem
FLAG_ABSTRACT, FLAG_ANNOTATION, FLAG_ANONYMOUS, FLAG_ARTIFICIAL, FLAG_BRIDGE, FLAG_CONSTRUCTOR, FLAG_DECLARED_SYNCHRONIZED, FLAG_DESTRUCTOR, FLAG_ENUM, FLAG_FINAL, FLAG_INNER, FLAG_INTERFACE, FLAG_INTERNAL, FLAG_NATIVE, FLAG_PRIVATE, FLAG_PROTECTED, FLAG_PUBLIC, FLAG_STATIC, FLAG_STRICT, FLAG_SYNCHRONIZED, FLAG_SYNTHETIC, FLAG_TRANSIENT, FLAG_VARARGS, FLAG_VIRTUAL, FLAG_VOLATILE -
Method Summary
Modifier and TypeMethodDescriptionGet the parameter types.Get the return type.booleanDetermine whether the prototype accepts a variable number of arguments.Methods inherited from interface com.pnfsoftware.jeb.core.units.code.ICodeItem
getAddress, getAddress, getGenericFlags, getIndex, getItemId, getName, getName, getSignature, getSignature, getSignature, isArtificial, isInternal
-
Method Details
-
getReturnType
ICodeType getReturnType()Get the return type.- Returns:
- the return type, never null
-
getParameterTypes
Get the parameter types.- Returns:
- list of parameters, possibly empty, never null
-
isVariableArgument
boolean isVariableArgument()Determine whether the prototype accepts a variable number of arguments.- Returns:
- true if the prototype accepts variable arguments
-