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, getParent
addAnnotations, addAnnotations, equals, getAnnotation, getAnnotations, getDeclaredAnnotations, getTarget, hashCode, isAnnotationPresent, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType
protected WeavableExecutable(TARGET target, WeavableClass<T> parent)
WeavableExecutable
instance.target
- executableparent
- enclosing WeavableClass
protected abstract P createParameter(int index)
WeavableParameter
object.index
- of parameterP
protected 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
- SELFSELF
Comparable.compareTo(Object)
contractpublic P getWeavableParameter(int index)
index
- int
P
public Iterable<P> getParameters()
WeavableExecutable
.Iterable
of P
Copyright © 2018 The Apache Software Foundation. All rights reserved.