SELF - own typeTARGET - target executable typeT - owning typeP - parameter typepublic abstract class WeavableExecutable<SELF extends WeavableExecutable<SELF,TARGET,T,P>,TARGET extends Member,T,P extends WeavableParameter<P,SELF,TARGET,T>> extends NestedWeavable<SELF,TARGET,WeavableClass<T>,Class<T>>
Weavable "executable".| Modifier | Constructor and Description |
|---|---|
protected |
WeavableExecutable(TARGET target,
WeavableClass<T> parent)
Create a new
WeavableExecutable instance. |
| Modifier and Type | Method and Description |
|---|---|
protected abstract P |
createParameter(int index)
Create an appropriate
WeavableParameter object. |
Iterable<P> |
getParameters()
Get the parameters declared by this
WeavableExecutable. |
protected abstract Class<?>[] |
getParameterTypes()
Get the parameter types of
Weavable.getTarget(). |
P |
getWeavableParameter(int index)
Get the parameter at the specified index.
|
protected int |
localCompareTo(SELF obj)
Compare against
o without respect to NestedWeavable.getParent(). |
compareTo, getParentaddAnnotations, addAnnotations, equals, getAnnotation, getAnnotations, getDeclaredAnnotations, getTarget, hashCode, isAnnotationPresent, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByTypeprotected WeavableExecutable(TARGET target, WeavableClass<T> parent)
WeavableExecutable instance.target - executableparent - enclosing WeavableClassprotected abstract P createParameter(int index)
WeavableParameter object.index - of parameterPprotected abstract Class<?>[] getParameterTypes()
Weavable.getTarget().Class[]protected int localCompareTo(SELF obj)
o without respect to NestedWeavable.getParent().localCompareTo in class NestedWeavable<SELF extends WeavableExecutable<SELF,TARGET,T,P>,TARGET extends Member,WeavableClass<T>,Class<T>>obj - SELFSELFComparable.compareTo(Object) contractpublic P getWeavableParameter(int index)
index - intPpublic Iterable<P> getParameters()
WeavableExecutable.Iterable of PCopyright © 2018 The Apache Software Foundation. All rights reserved.