T
- enclosing typepublic class WeavableMethod<T> extends WeavableExecutable<WeavableMethod<T>,Method,T,WeavableMethodParameter<T>>
Constructor and Description |
---|
WeavableMethod(Method target,
WeavableClass<T> parent)
Create a new
WeavableMethod instance. |
Modifier and Type | Method and Description |
---|---|
protected WeavableMethodParameter<T> |
createParameter(int index)
Create an appropriate
WeavableParameter object. |
protected Class<?>[] |
getParameterTypes()
Get the parameter types of
Weavable.getTarget() . |
protected int |
localCompareTo(WeavableMethod<T> obj)
Compare against
o without respect to NestedWeavable.getParent() . |
getParameters, getWeavableParameter
compareTo, getParent
addAnnotations, addAnnotations, equals, getAnnotation, getAnnotations, getDeclaredAnnotations, getTarget, hashCode, isAnnotationPresent, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType
public WeavableMethod(Method target, WeavableClass<T> parent)
WeavableMethod
instance.target
- methodparent
- enclosing WeavableClass
protected Class<?>[] getParameterTypes()
Weavable.getTarget()
.getParameterTypes
in class WeavableExecutable<WeavableMethod<T>,Method,T,WeavableMethodParameter<T>>
Class
[]protected int localCompareTo(WeavableMethod<T> obj)
o
without respect to NestedWeavable.getParent()
.localCompareTo
in class WeavableExecutable<WeavableMethod<T>,Method,T,WeavableMethodParameter<T>>
obj
- SELFSELF
Comparable.compareTo(Object)
contractprotected WeavableMethodParameter<T> createParameter(int index)
WeavableParameter
object.createParameter
in class WeavableExecutable<WeavableMethod<T>,Method,T,WeavableMethodParameter<T>>
index
- of parameterP
Copyright © 2018 The Apache Software Foundation. All rights reserved.