Class ExternalReflectCallHelper
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<IArgMapping>,Collection<IArgMapping>,List<IArgMapping>,RandomAccess,SequencedCollection<IArgMapping>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Stringprotected final Objectprotected IArgMappingFields inherited from class java.util.Vector
capacityIncrement, elementCount, elementDataFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
ConstructorsConstructorDescriptionExternalReflectCallHelper(String functionName, Object object) ExternalReflectCallHelper(AFunctionDeclaration functionDeclaration, Object object) ExternalReflectCallHelper(AFunctionDeclaration functionDeclaration, Object object, Function<ExternalReflectCallHelper.ArgMappingContext, IArgMapping> costumeArgMapper) -
Method Summary
Modifier and TypeMethodDescriptionaddArg(TP type, int dimiention, ExternalReflectCallHelper.ArgMapping.InOut direction) addArg(TP type, int dimiention, ExternalReflectCallHelper.ArgMapping.InOut direction, long... limits) addReturn(IArgMapping returnArg) build()getReverseType(org.intocps.maestro.ast.node.PType t) getSignature(boolean body) toString()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, trimToSizeMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface java.util.List
addFirst, addLast, getFirst, getLast, removeFirst, removeLast, reversed
-
Field Details
-
functionName
-
object
-
returnArg
-
-
Constructor Details
-
ExternalReflectCallHelper
-
ExternalReflectCallHelper
public ExternalReflectCallHelper(AFunctionDeclaration functionDeclaration, Object object, Function<ExternalReflectCallHelper.ArgMappingContext, IArgMapping> costumeArgMapper) -
ExternalReflectCallHelper
-
-
Method Details
-
getReverseType
public static Map.Entry<TP,Integer> getReverseType(org.intocps.maestro.ast.node.PType t) throws ExternalReflectCallHelper.ExceptionUnknownTypeMapping -
getSignature
-
toString
- Overrides:
toStringin classVector<IArgMapping>
-
addReturn
-
addReturn
-
addArg
-
addArg
-
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
- Throws:
NoSuchMethodException
-