Package org.revapi.java.model
Class MissingClassElement
- java.lang.Object
-
- org.revapi.base.BaseElement<org.revapi.java.spi.JavaElement>
-
- org.revapi.java.model.AbstractJavaElement
-
- org.revapi.java.model.JavaElementBase<TypeElement,DeclaredType>
-
- org.revapi.java.model.TypeElement
-
- org.revapi.java.model.MissingClassElement
-
- 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
,org.revapi.java.spi.JavaTypeElement
public final class MissingClassElement extends TypeElement
- Since:
- 0.1
- Author:
- Lukas Krejci
-
-
Field Summary
-
Fields inherited from class org.revapi.java.model.JavaElementBase
representation
-
Fields inherited from class org.revapi.java.model.AbstractJavaElement
environment
-
-
Constructor Summary
Constructors Constructor Description MissingClassElement(ProbingEnvironment env, TypeElement missingType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MissingClassElement
clone()
int
compareTo(org.revapi.java.spi.JavaElement o)
TypeElement
getDeclaringElement()
protected String
getHumanReadableElementType()
DeclaredType
getModelRepresentation()
-
Methods inherited from class org.revapi.java.model.TypeElement
createComparableSignature, createFullHumanReadableString, getBinaryName, getCanonicalName, getUsedTypes, getUseSites, initReferences, isInAPI, isInApiThroughUse, setInApi, setInApiThroughUse, setRawUsedTypes, setRawUseSites
-
Methods inherited from class org.revapi.java.model.JavaElementBase
cloneUnder, equals, getApi, getComparableSignature, getFullHumanReadableString, 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
-
Methods inherited from interface org.revapi.Element
as, getApi, getArchive, getChildren, getCumulativeReferencedElements, getCumulativeReferencingElements, getFullHumanReadableString, getReferencedElements, getReferencingElements, iterateOverChildren, searchChildren, searchChildren, setParent, stream
-
-
-
-
Constructor Detail
-
MissingClassElement
public MissingClassElement(ProbingEnvironment env, TypeElement missingType)
-
-
Method Detail
-
getDeclaringElement
public TypeElement getDeclaringElement()
- Specified by:
getDeclaringElement
in interfaceorg.revapi.java.spi.JavaModelElement
- Specified by:
getDeclaringElement
in interfaceorg.revapi.java.spi.JavaTypeElement
- Overrides:
getDeclaringElement
in classJavaElementBase<TypeElement,DeclaredType>
-
getModelRepresentation
public DeclaredType getModelRepresentation()
- Specified by:
getModelRepresentation
in interfaceorg.revapi.java.spi.JavaModelElement
- Specified by:
getModelRepresentation
in interfaceorg.revapi.java.spi.JavaTypeElement
- Overrides:
getModelRepresentation
in classJavaElementBase<TypeElement,DeclaredType>
-
getHumanReadableElementType
@Nonnull protected String getHumanReadableElementType()
- Overrides:
getHumanReadableElementType
in classTypeElement
-
compareTo
public int compareTo(@Nonnull org.revapi.java.spi.JavaElement o)
- Specified by:
compareTo
in interfaceComparable<org.revapi.java.spi.JavaElement>
- Overrides:
compareTo
in classTypeElement
-
clone
public MissingClassElement clone()
- Overrides:
clone
in classTypeElement
-
-