Usages of

lombok.ast.NormalTypeBody.getChildren()
@Nullable private static String getFieldType(@NonNull NormalTypeBody cls, @NonNull String name) { List<Node> children = cls.getChildren(); for (Node child : children) { if (child.getClass() == VariableDeclaration.class) { VariableDeclaration declaration = (VariableDeclaration) child; VariableDefinition definition = declaration.astDefinition(); return definition.astTypeReference().toString(); } } return null; }
Usage snippet has been bookmarked! Review your bookmarks
Thank you! Review your likes