public class WeavablePackage extends Weavable<WeavablePackage,Package>
Constructor and Description |
---|
WeavablePackage(Package target)
Create a new
WeavablePackage instance. |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(WeavablePackage arg0)
Implement
Comparable . |
Iterable<WeavableClass<?>> |
getClasses()
Get enclosed
WeavableClass es. |
<T> WeavableClass<T> |
getWeavable(Class<T> cls)
Get a
WeavableClass representing cls . |
String |
toString()
|
addAnnotations, addAnnotations, equals, getAnnotation, getAnnotations, getDeclaredAnnotations, getTarget, hashCode, isAnnotationPresent
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType
public WeavablePackage(Package target)
WeavablePackage
instance.target
- packagepublic <T> WeavableClass<T> getWeavable(Class<T> cls)
WeavableClass
representing cls
.T
- generic type of cls
cls
- to wrapWeavableClass
public Iterable<WeavableClass<?>> getClasses()
WeavableClass
es.Iterable
public int compareTo(WeavablePackage arg0)
Comparable
.arg0
- WeavablePackage
to compare againstComparable.compareTo(Object)
contractCopyright © 2018 The Apache Software Foundation. All rights reserved.