Java Code Examples for javax.lang.model.element.ElementKind.name()

The following are Jave code examples for showing how to use name() of the javax.lang.model.element.ElementKind class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: annotation-processor-toolkit   File: ElementKindMatcher.java   Source Code and License Vote up 4 votes
/**
 * {@inheritDoc}
 */
@Override
public String getStringRepresentationOfPassedCharacteristic(ElementKind toGetStringRepresentationFor) {
    return toGetStringRepresentationFor != null ? toGetStringRepresentationFor.name() : null;
}