public final class MoreElements extends Object
public static PackageElement getPackageElementEvenIfEmpty(Elements elements, CharSequence packageName)
public static TypeElement getSuperclass(TypeElement type)
public static java.util.stream.Stream<TypeElement> getInterfaces(TypeElement type)
public static java.util.stream.Stream<TypeElement> getTransitiveSuperclasses(TypeElement type)
public static boolean isTransitiveMemberClass(TypeElement inner, TypeElement outer)
public static TypeElement getTypeElement(Element element)
public static TypeElement getTopLevelTypeElement(Element element)
public static PackageElement getPackageElement(Element element)
public static boolean isInnerClassConstructor(ExecutableElement e)
public static boolean isConstructor(ExecutableElement e)
public static boolean isInnerClass(TypeElement e)
public static Element getOuterClass(ExecutableElement e)
public static boolean isRuntimeRetention(AnnotationMirror annotation)
public static boolean isSourceRetention(AnnotationMirror annotation)