Package org.revapi.java.model
Class PackageElement
- java.lang.Object
-
- org.revapi.base.BaseElement<org.revapi.java.spi.JavaElement>
-
- org.revapi.java.model.AbstractJavaElement
-
- org.revapi.java.model.JavaElementBase<PackageElement,TypeMirror>
-
- org.revapi.java.model.PackageElement
-
- All Implemented Interfaces:
Cloneable
,Comparable<org.revapi.java.spi.JavaElement>
,org.revapi.Element<org.revapi.java.spi.JavaElement>
,org.revapi.java.spi.JavaElement
,org.revapi.java.spi.JavaModelElement
public class PackageElement extends JavaElementBase<PackageElement,TypeMirror>
TODO incorporate this into ClassTreeInitializer, Util.* and, element analyzer, etc.- Since:
- 0.1
- Author:
- Lukas Krejci
-
-
Field Summary
-
Fields inherited from class org.revapi.java.model.JavaElementBase
element, representation
-
Fields inherited from class org.revapi.java.model.AbstractJavaElement
environment
-
-
Constructor Summary
Constructors Constructor Description PackageElement(ProbingEnvironment env, org.revapi.Archive archive, PackageElement element)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
createComparableSignature()
protected String
getHumanReadableElementType()
-
Methods inherited from class org.revapi.java.model.JavaElementBase
clone, cloneUnder, compareTo, createFullHumanReadableString, equals, getApi, getComparableSignature, getDeclaringElement, getFullHumanReadableString, getModelRepresentation, getParent, hashCode, isInherited, lookupChildElement, setInherited, setParent, toString
-
Methods inherited from class org.revapi.java.model.AbstractJavaElement
getTypeEnvironment, newReference, setArchive
-
Methods inherited from class org.revapi.base.BaseElement
castThis, getArchive, getChildren, getReferencedElements, getReferencingElements, iterateOverChildren, newChildrenInstance, searchChildren, searchChildren
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Constructor Detail
-
PackageElement
public PackageElement(ProbingEnvironment env, org.revapi.Archive archive, PackageElement element)
-
-
Method Detail
-
getHumanReadableElementType
@Nonnull protected String getHumanReadableElementType()
- Specified by:
getHumanReadableElementType
in classJavaElementBase<PackageElement,TypeMirror>
-
createComparableSignature
protected String createComparableSignature()
- Specified by:
createComparableSignature
in classJavaElementBase<PackageElement,TypeMirror>
-
-