org.objectweb.jac.core.rtti
Class MixinMethodItem
java.lang.Object
org.objectweb.jac.core.rtti.MetaItem
org.objectweb.jac.core.rtti.MetaItemDelegate
org.objectweb.jac.core.rtti.MemberItem
org.objectweb.jac.core.rtti.AbstractMethodItem
org.objectweb.jac.core.rtti.MethodItem
org.objectweb.jac.core.rtti.MixinMethodItem
- public class MixinMethodItem
- extends MethodItem
Methods inherited from class org.objectweb.jac.core.rtti.MethodItem |
addAccessedField, addAddedCollection, addRemovedCollection, getActualMethod, getAddedCollections, getCollectionIndexArgument, getCollectionItemArgument, getName, getOrgMethod, getRemovedCollection, getRemovedCollections, getReturnedField, getSetField, getType, hasAccessedReferences, hasAddedCollections, hasRemovedCollections, invokeStatic, invokeWithInit, isAccessor, isAdder, isCollectionAccessor, isCollectionGetter, isCollectionSetter, isFieldGetter, isFieldSetter, isGetter, isJacMethod, isReferenceAccessor, isReferenceGetter, isReferenceSetter, isRemover, isSetter, isWriter, removeAddedCollection, removeRemovedCollection, setAddedCollections, setCollectionIndexArgument, setCollectionItemArgument, setRemovedCollections, setReturnedField, setSetField, toMethods |
Methods inherited from class org.objectweb.jac.core.rtti.AbstractMethodItem |
addModifiedCollection, addWrittenField, getAccessedCollections, getAccessedFields, getAccessedReferences, getAddedCollection, getAttribute, getCompactFullName, getConcreteMethod, getFullName, getFullName, getLongName, getModifiedCollections, getOwningClass, getParameterCount, getParameterTypeItem, getRealFullName, getWrittenFields, hasModifiedCollections, hasWrittenFields, isModifier, isStatic, removeAccessedField, removeWrittenField, setAccessedFields, setWrittenFields, toString |
MixinMethodItem
public MixinMethodItem(Method method,
ClassItem parent)
throws InvalidDelegateException
invoke
public Object invoke(Object object,
Object[] parameters)
- Invoke as a static method, prepending object at the beginning
of parameters.
- Overrides:
invoke
in class MethodItem
- Parameters:
object
- a class this method belongs to intanceparameters
- the values of the parameters to invoke this
method with
getParameterTypes
public Class[] getParameterTypes()
- Description copied from class:
AbstractMethodItem
- Gets the parameter types of this abstract method item.
- Overrides:
getParameterTypes
in class MethodItem
setParameter
public void setParameter(Object[] params,
int i,
Object value)
- Overrides:
setParameter
in class AbstractMethodItem
getParameter
public Object getParameter(Object[] params,
int i)
- Overrides:
getParameter
in class AbstractMethodItem