public final class MethodElement extends JavaElementBase<ExecutableElement,ExecutableType> implements org.revapi.java.spi.JavaMethodElement
element, representation
environment
Constructor and Description |
---|
MethodElement(ProbingEnvironment env,
org.revapi.Archive archive,
ExecutableElement element,
ExecutableType type) |
Modifier and Type | Method and Description |
---|---|
MethodElement |
clone() |
protected String |
createComparableSignature() |
static String |
createComparableSignature(ExecutableElement m,
TypeMirror mType) |
protected String |
getHumanReadableElementType() |
org.revapi.java.spi.JavaTypeElement |
getParent() |
boolean |
isConstructor() |
cloneUnder, compareTo, createFullHumanReadableString, equals, getApi, getComparableSignature, getDeclaringElement, getFullHumanReadableString, getModelRepresentation, hashCode, isInherited, setInherited, setParent, toString
getTypeEnvironment, setArchive
castThis, getArchive, getChildren, iterateOverChildren, newChildrenInstance, searchChildren, searchChildren
finalize, getClass, notify, notifyAll, wait, wait, wait
getDeclaringElement, getModelRepresentation
as, getApi, getArchive, getChildren, getFullHumanReadableString, iterateOverChildren, searchChildren, searchChildren, setParent, stream
compareTo
public MethodElement(ProbingEnvironment env, org.revapi.Archive archive, ExecutableElement element, ExecutableType type)
public static String createComparableSignature(ExecutableElement m, TypeMirror mType)
@Nonnull public org.revapi.java.spi.JavaTypeElement getParent()
getParent
in interface org.revapi.Element<org.revapi.java.spi.JavaElement>
getParent
in interface org.revapi.java.spi.JavaMethodElement
getParent
in interface org.revapi.java.spi.JavaModelElement
getParent
in class JavaElementBase<ExecutableElement,ExecutableType>
public boolean isConstructor()
@Nonnull protected String getHumanReadableElementType()
getHumanReadableElementType
in class JavaElementBase<ExecutableElement,ExecutableType>
protected String createComparableSignature()
createComparableSignature
in class JavaElementBase<ExecutableElement,ExecutableType>
public MethodElement clone()
clone
in class JavaElementBase<ExecutableElement,ExecutableType>
Copyright © 2014-2021 Lukas Krejci. All Rights Reserved.