lombok.ast.EnumDeclaration Java Examples
The following examples show how to use
lombok.ast.EnumDeclaration.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: JavaVisitor.java From javaide with GNU General Public License v3.0 | 5 votes |
@Override public boolean visitEnumDeclaration(EnumDeclaration node) { List<VisitingDetector> list = mNodeTypeDetectors.get(EnumDeclaration.class); if (list != null) { for (VisitingDetector v : list) { v.getVisitor().visitEnumDeclaration(node); } } return false; }
Example #2
Source File: EnumDetector.java From linette with Apache License 2.0 | 5 votes |
@Override public List<Class<? extends Node>> getApplicableNodeTypes() { return Arrays.<Class<? extends Node>>asList( EnumDeclaration.class, EnumTypeBody.class, EnumConstant.class ); }
Example #3
Source File: EnumDetector.java From linette with Apache License 2.0 | 4 votes |
@Override public boolean visitEnumDeclaration(EnumDeclaration node) { mContext.report(ISSUE, Location.create(mContext.file), ISSUE.getBriefDescription(TextFormat.TEXT)); return super.visitEnumDeclaration(node); }