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