public class BasicFunctionType extends BasicType implements FunctionType
CONST, VOLATILE
Modifier | Constructor and Description |
---|---|
|
BasicFunctionType(java.lang.String name,
int size,
Type returnType) |
protected |
BasicFunctionType(java.lang.String name,
int size,
Type returnType,
int cvAttributes) |
Modifier and Type | Method and Description |
---|---|
void |
addArgumentType(Type t) |
FunctionType |
asFunction() |
protected Type |
createCVVariant(int cvAttributes) |
Type |
getArgumentType(int i) |
int |
getNumArguments() |
Type |
getReturnType() |
void |
iterateObject(Address a,
ObjectVisitor v,
FieldIdentifier f)
Alternate visitor which allows end user to specify the
FieldIdentifier associated with this type (typically for
visiting locals in a frame)
|
void |
visit(TypeVisitor v) |
addCVVariant, asArray, asBit, asCompound, asDouble, asEnum, asFloat, asInt, asMemberFunction, asPointer, asRef, asVoid, findCVVariant, getCVVariant, getName, getSize, isArray, isBit, isCompound, isConst, isDouble, isEnum, isFloat, isFunction, isInt, isLazy, isMemberFunction, isPointer, isRef, isVoid, isVolatile, iterateObject, setName, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asArray, asBit, asCompound, asDouble, asEnum, asFloat, asInt, asMemberFunction, asPointer, asRef, asVoid, getName, getSize, isArray, isBit, isCompound, isConst, isDouble, isEnum, isFloat, isFunction, isInt, isMemberFunction, isPointer, isRef, isVoid, isVolatile, iterateObject, toString
public BasicFunctionType(java.lang.String name, int size, Type returnType)
protected BasicFunctionType(java.lang.String name, int size, Type returnType, int cvAttributes)
public FunctionType asFunction()
asFunction
in interface Type
asFunction
in class BasicType
public Type getReturnType()
getReturnType
in interface FunctionType
public int getNumArguments()
getNumArguments
in interface FunctionType
public Type getArgumentType(int i)
getArgumentType
in interface FunctionType
public void addArgumentType(Type t)
public void iterateObject(Address a, ObjectVisitor v, FieldIdentifier f)
Type
iterateObject
in interface Type
iterateObject
in class BasicType
protected Type createCVVariant(int cvAttributes)
createCVVariant
in class BasicType
public void visit(TypeVisitor v)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.