
net.simonvt.schematic.compiler.ElementUtils Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of schematic-compiler Show documentation
Show all versions of schematic-compiler Show documentation
Automatically generate ContentProviders
package net.simonvt.schematic.compiler;
import javax.lang.model.element.Element;
import javax.lang.model.element.TypeElement;
public final class ElementUtils {
private ElementUtils() {
}
public static String getFullyQualified(Element element) {
String parent = ((TypeElement) element.getEnclosingElement()).getQualifiedName().toString();
String elm = element.getSimpleName().toString();
return parent + "." + elm;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy