Interface JavaFieldElement
- All Superinterfaces:
Comparable<JavaElement>,org.revapi.Element<JavaElement>,JavaElement,JavaModelElement
Elements in the element forest that represent Java fields, will implement this interface.
- Since:
- 0.1
- Author:
- Lukas Krejci
-
Method Summary
Modifier and TypeMethodDescriptionFor an inherited method for example, this will return the element in the super type that declares this method.Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface org.revapi.Element
as, getApi, getArchive, getChildren, getCumulativeReferencedElements, getCumulativeReferencingElements, getFullHumanReadableString, getReferencedElements, getReferencingElements, iterateOverChildren, searchChildren, searchChildren, setParent, streamMethods inherited from interface org.revapi.java.spi.JavaElement
getTypeEnvironmentMethods inherited from interface org.revapi.java.spi.JavaModelElement
getModelRepresentation, getParentType, isInherited
-
Method Details
-
getDeclaringElement
VariableElement getDeclaringElement()Description copied from interface:JavaModelElementFor an inherited method for example, this will return the element in the super type that declares this method.- Specified by:
getDeclaringElementin interfaceJavaModelElement- Returns:
- The element that represents the declaration this model element.
-
getParent
- Specified by:
getParentin interfaceorg.revapi.Element<JavaElement>- Specified by:
getParentin interfaceJavaModelElement
-