T
- typepublic class WeavableClass<T> extends NestedWeavable<WeavableClass<T>,Class<T>,WeavablePackage,Package>
Constructor and Description |
---|
WeavableClass(Class<T> target,
WeavablePackage parent)
Create a new
WeavableClass instance. |
Modifier and Type | Method and Description |
---|---|
Iterable<WeavableConstructor<T>> |
getConstructors()
Get
WeavableConstructor s of this WeavableClass . |
Iterable<WeavableField<T>> |
getFields()
Get
WeavableField s of this WeavableClass . |
Iterable<WeavableMethod<T>> |
getMethods()
Get
WeavableMethod s of this WeavableClass . |
WeavableConstructor<T> |
getWeavable(Constructor<T> ctor)
Get a
WeavableConstructor representing ctor . |
WeavableField<T> |
getWeavable(Field fld)
Get a
WeavableField representing fld . |
WeavableMethod<T> |
getWeavable(Method methd)
Get a
WeavableMethod representing mt . |
protected int |
localCompareTo(WeavableClass<T> 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
public WeavableClass(Class<T> target, WeavablePackage parent)
WeavableClass
instance.target
- Class
parent
- WeavablePackage
enclosingpublic WeavableField<T> getWeavable(Field fld)
WeavableField
representing fld
.fld
- to wrapWeavableField
public WeavableMethod<T> getWeavable(Method methd)
WeavableMethod
representing mt
.methd
- to wrapWeavableMethod
public WeavableConstructor<T> getWeavable(Constructor<T> ctor)
WeavableConstructor
representing ctor
.ctor
- to wrapWeavableConstructor
public Iterable<WeavableField<T>> getFields()
WeavableField
s of this WeavableClass
.Iterable
public Iterable<WeavableConstructor<T>> getConstructors()
WeavableConstructor
s of this WeavableClass
.Iterable
public Iterable<WeavableMethod<T>> getMethods()
WeavableMethod
s of this WeavableClass
.Iterable
protected int localCompareTo(WeavableClass<T> obj)
o
without respect to NestedWeavable.getParent()
.localCompareTo
in class NestedWeavable<WeavableClass<T>,Class<T>,WeavablePackage,Package>
obj
- SELFSELF
Comparable.compareTo(Object)
contractCopyright © 2018 The Apache Software Foundation. All rights reserved.