Class ExternalReflectCallHelper
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.Vector<IArgMapping>
-
- org.intocps.maestro.interpreter.external.ExternalReflectCallHelper
-
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<IArgMapping>,Collection<IArgMapping>,List<IArgMapping>,RandomAccess
public class ExternalReflectCallHelper extends Vector<IArgMapping>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExternalReflectCallHelper.ArgMappingstatic classExternalReflectCallHelper.ArgMappingContextstatic classExternalReflectCallHelper.ExceptionUnknownTypeMapping
-
Field Summary
Fields Modifier and Type Field Description protected StringfunctionNameprotected Objectobjectprotected IArgMappingreturnArg-
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description ExternalReflectCallHelper(String functionName, Object object)ExternalReflectCallHelper(AFunctionDeclaration functionDeclaration, Object object)ExternalReflectCallHelper(AFunctionDeclaration functionDeclaration, Object object, Function<ExternalReflectCallHelper.ArgMappingContext,IArgMapping> costumeArgMapper)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ExternalReflectCallHelperaddArg(TP type)ExternalReflectCallHelperaddArg(TP type, int dimiention)ExternalReflectCallHelperaddArg(TP type, int dimiention, ExternalReflectCallHelper.ArgMapping.InOut direction)ExternalReflectCallHelperaddArg(TP type, int dimiention, ExternalReflectCallHelper.ArgMapping.InOut direction, long... limits)ExternalReflectCallHelperaddReturn(IArgMapping returnArg)ExternalReflectCallHelperaddReturn(TP type)FunctionValue.ExternalFunctionValuebuild()static Map.Entry<TP,Integer>getReverseType(org.intocps.maestro.ast.node.PType t)StringgetSignature(boolean body)StringtoString()-
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
-
-
-
-
Field Detail
-
functionName
protected final String functionName
-
object
protected final Object object
-
returnArg
protected IArgMapping returnArg
-
-
Constructor Detail
-
ExternalReflectCallHelper
public ExternalReflectCallHelper(AFunctionDeclaration functionDeclaration, Object object, Function<ExternalReflectCallHelper.ArgMappingContext,IArgMapping> costumeArgMapper)
-
ExternalReflectCallHelper
public ExternalReflectCallHelper(AFunctionDeclaration functionDeclaration, Object object)
-
-
Method Detail
-
getReverseType
public static Map.Entry<TP,Integer> getReverseType(org.intocps.maestro.ast.node.PType t) throws ExternalReflectCallHelper.ExceptionUnknownTypeMapping
-
getSignature
public String getSignature(boolean body)
-
toString
public String toString()
- Overrides:
toStringin classVector<IArgMapping>
-
addReturn
public ExternalReflectCallHelper addReturn(TP type)
-
addReturn
public ExternalReflectCallHelper addReturn(IArgMapping returnArg)
-
addArg
public ExternalReflectCallHelper addArg(TP type)
-
addArg
public ExternalReflectCallHelper addArg(TP type, int dimiention)
-
addArg
public ExternalReflectCallHelper addArg(TP type, int dimiention, ExternalReflectCallHelper.ArgMapping.InOut direction)
-
addArg
public ExternalReflectCallHelper addArg(TP type, int dimiention, ExternalReflectCallHelper.ArgMapping.InOut direction, long... limits)
-
build
public FunctionValue.ExternalFunctionValue build() throws NoSuchMethodException
- Throws:
NoSuchMethodException
-
-